herbstluftwm: fix Tor Browser class, suspend bind

This commit is contained in:
Lucas Gabriel Vuotto 2024-07-13 13:56:18 +00:00
parent 4d37bf4e4e
commit f2d8419d1b

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# env # env
# Written in 2019-2020,2022-2023 by Lucas # Written in 2019-2020,2022-2024 by Lucas
# CC0 1.0 Universal/Public domain - No rights reserved # CC0 1.0 Universal/Public domain - No rights reserved
# #
# To the extent possible under law, the author(s) have dedicated all # To the extent possible under law, the author(s) have dedicated all
@ -10,7 +10,7 @@
# Dedication along with this software. If not, see # Dedication along with this software. If not, see
# <http://creativecommons.org/publicdomain/zero/1.0/>. # <http://creativecommons.org/publicdomain/zero/1.0/>.
if [ -r ~/.config/herbstluftwm/theme ]; then if [ -f ~/.config/herbstluftwm/theme ]; then
. ~/.config/herbstluftwm/theme . ~/.config/herbstluftwm/theme
fi fi
@ -40,6 +40,7 @@ hc keybind $Mod-p spawn dmenu_run \
hc keybind $Mod-Shift-Return spawn xterm hc keybind $Mod-Shift-Return spawn xterm
hc keybind $Mod-Control-Return spawn xterm -geometry 80x40 hc keybind $Mod-Control-Return spawn xterm -geometry 80x40
hc keybind $Mod-Control-l spawn xlock hc keybind $Mod-Control-l spawn xlock
hc keybind $Mod-Shift-z spawn sh -c 'xlock & doas /usr/sbin/zzz'
hc keybind $Mod-Control-z spawn sh -c 'xlock & doas /usr/sbin/ZZZ' hc keybind $Mod-Control-z spawn sh -c 'xlock & doas /usr/sbin/ZZZ'
hc keybind $Mod-Print spawn screenshot hc keybind $Mod-Print spawn screenshot
hc keybind $Mod-Shift-Print spawn screenshot -s hc keybind $Mod-Shift-Print spawn screenshot -s
@ -155,8 +156,8 @@ hc rule windowtype~"_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)" manage=off
hc rule class=XTerm pseudotile=on hc rule class=XTerm pseudotile=on
hc rule class~"[Ff]irefox.*" pseudotile=on tag=3 hc rule class~"[Ff]irefox.*" pseudotile=on tag=3
hc rule class~"[Ff]irefox.*" instance=Navigator fullscreen=on tag=3 hc rule class~"[Ff]irefox.*" instance=Navigator fullscreen=on tag=3
hc rule class=tor-browser-default pseudotile=on tag=3 hc rule class=tor-browser pseudotile=on tag=3
hc rule class=tor-browser-default instance=Navigator fullscreen=on tag=3 hc rule class=tor-browser instance=Navigator fullscreen=on tag=3
hc rule class=SshAskpass pseudotile=on hc rule class=SshAskpass pseudotile=on
hc rule class=Snes9x-gtk pseudotile=on hc rule class=Snes9x-gtk pseudotile=on
hc rule class=Gajim pseudotile=on tag=7 hc rule class=Gajim pseudotile=on tag=7