Compare commits
3 commits
3aa01454c1
...
6a0e9d2d23
Author | SHA1 | Date | |
---|---|---|---|
6a0e9d2d23 | |||
0c7e88ec92 | |||
89ec8bd17e |
1 changed files with 13 additions and 4 deletions
|
@ -41,8 +41,8 @@ hc keybind $Mod-x spawn rofi -show run
|
||||||
hc keybind $Mod-Tab spawn rofi -show combi
|
hc keybind $Mod-Tab spawn rofi -show combi
|
||||||
hc keybind $Mod-Return spawn es
|
hc keybind $Mod-Return spawn es
|
||||||
hc keybind $Mod-Control-Return spawn ~/.emacs_anywhere/bin/run
|
hc keybind $Mod-Control-Return spawn ~/.emacs_anywhere/bin/run
|
||||||
hc keybind $Mod-t spawn alacritty
|
hc keybind $Mod-t spawn es -e '(vterm)'
|
||||||
hc keybind $Mod-b spawn brave
|
hc keybind $Mod-b spawn epiphany
|
||||||
hc keybind $Mod-v spawn pavucontrol-qt
|
hc keybind $Mod-v spawn pavucontrol-qt
|
||||||
hc keybind $Mod-Control-b spawn firefox-developer-edition
|
hc keybind $Mod-Control-b spawn firefox-developer-edition
|
||||||
hc keybind $Mod-Control-t spawn es -e '(eshell)'
|
hc keybind $Mod-Control-t spawn es -e '(eshell)'
|
||||||
|
@ -183,8 +183,17 @@ hc unlock
|
||||||
# or simply:
|
# or simply:
|
||||||
hc detect_monitors
|
hc detect_monitors
|
||||||
|
|
||||||
# make room for the panel
|
# make room for the panel, depending on how many monitors are configured
|
||||||
|
monitor_amount=$(hc list_monitors | wc -l)
|
||||||
|
|
||||||
|
case "$monitor_amount" in
|
||||||
|
[2-3])
|
||||||
|
hc pad 1 22
|
||||||
|
;;
|
||||||
|
*)
|
||||||
hc pad 0 22
|
hc pad 0 22
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# find the panel
|
# find the panel
|
||||||
panel=~/.config/herbstluftwm/panel.sh
|
panel=~/.config/herbstluftwm/panel.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue