mirror of
https://github.com/tomru/hlwm-config.git
synced 2026-03-03 06:27:20 +01:00
24 lines
653 B
Bash
Executable File
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
|