Files
hlwm-config/rules.sh
Thomas Ruoff c0af622d2b couple of changes 😓
2021-11-28 23:49:39 +01:00

24 lines
653 B
Bash
Executable File

#!/usr/bin/env bash
hc() {
herbstclient "$@"
}
# rules
hc unrule -F
# eval: focus all new clients
hc rule focus=true
# give focus to most common terminals
hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole|kitty)' focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on switchtag=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off
hc rule class='1Password' focus=on switchtag=on
hc rule class=zoom tag=zoom focus=on switchtag=on
hc rule class=Slack tag=slack focus=on switchtag=on
hc rule class=Pavucontrol tag=0 focus=on switchtag=on