From e2be7fc21779d8798c45b35905fc297e5421e354 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Tue, 20 Feb 2018 16:39:29 +0100 Subject: [PATCH] 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. --- config/herbstluftwm/autostart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/herbstluftwm/autostart b/config/herbstluftwm/autostart index d6f16dc..06f08f0 100755 --- a/config/herbstluftwm/autostart +++ b/config/herbstluftwm/autostart @@ -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