From f2d8419d1baf21b21db584f45a40c43fd556e802 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Vuotto Date: Sat, 13 Jul 2024 13:56:18 +0000 Subject: [PATCH] herbstluftwm: fix Tor Browser class, suspend bind --- xdg-config-dir/herbstluftwm/autostart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xdg-config-dir/herbstluftwm/autostart b/xdg-config-dir/herbstluftwm/autostart index 944a8d3..625b7d2 100755 --- a/xdg-config-dir/herbstluftwm/autostart +++ b/xdg-config-dir/herbstluftwm/autostart @@ -1,6 +1,6 @@ #!/bin/sh # 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 # # To the extent possible under law, the author(s) have dedicated all @@ -10,7 +10,7 @@ # Dedication along with this software. If not, see # . -if [ -r ~/.config/herbstluftwm/theme ]; then +if [ -f ~/.config/herbstluftwm/theme ]; then . ~/.config/herbstluftwm/theme fi @@ -40,6 +40,7 @@ hc keybind $Mod-p spawn dmenu_run \ hc keybind $Mod-Shift-Return spawn xterm hc keybind $Mod-Control-Return spawn xterm -geometry 80x40 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-Print spawn screenshot 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~"[Ff]irefox.*" pseudotile=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-default instance=Navigator fullscreen=on tag=3 +hc rule class=tor-browser pseudotile=on tag=3 +hc rule class=tor-browser instance=Navigator fullscreen=on tag=3 hc rule class=SshAskpass pseudotile=on hc rule class=Snes9x-gtk pseudotile=on hc rule class=Gajim pseudotile=on tag=7