herbstluftwm: add keybind for 'fakefullscreen' and remove chromium/firefox rule

Apparently the workaround for only fullscreening into pane used for
chromium depends on its buggy behaviour and does not work with firefox
(which instance is Navigator instead of firefox anyways). As an
alternative there now is a new keybind to switch from fullscreen into
this 'fakefullscreen'. To switch back one must go into normal fullscreen
again. Therefore this still could use some rework.
This commit is contained in:
Thomas Preisner 2018-02-20 16:39:29 +01:00
parent 88bcca040f
commit e2be7fc217

View file

@ -85,6 +85,7 @@ fi
hc keybind $Mod-b spawn /usr/bin/chromium
hc keybind $Mod-grave spawn "$HOME"/.config/herbstluftwm/q3terminal.sh 9
hc keybind $Mod-Shift-f chain , attr clients.focus.ewmhnotify false , attr clients.focus.fullscreen false , attr clients.focus.ewmhnotify true
hc keybind XF86AudioMute chain . spawn amixer -q set Master toggle . spawn herbstclient emit_hook UPDATE
hc keybind XF86AudioLowerVolume and . spawn amixer -q set Master playback '5%-' . spawn herbstclient emit_hook UPDATE
@ -175,9 +176,6 @@ hc rule focus=on # normally focus new clients
hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on
# don't manage Pinentry windows so they overlay the rest
hc rule class='Pinentry' manage=off focus=on
# let chromium fullscreen in its pane instead of the screen
hc rule --instance=chromium --ewmhrequests=off
hc rule --instance=firefox --ewmhrequests=off
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off