enabling status bar on ellison

This commit is contained in:
Rudis Muiznieks 2022-06-24 11:46:03 -05:00
parent 56f4a9fb31
commit dbd4439f81
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 45 additions and 54 deletions

View File

@ -1,6 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
HOSTNAME=$(hostname)
PATH="$PATH:$HOME/.local/bin" PATH="$PATH:$HOME/.local/bin"
hc() { hc() {
@ -8,10 +7,8 @@ hc() {
} }
# don't need sticky win on pinebook # don't need sticky win on pinebook
if [ "$HOSTNAME" != "ellison" ]; then
hc new_attr string my_sticky hc new_attr string my_sticky
refresh_panel="pgrep -f 'bash.*panel\.sh' | xargs -n1 kill -s USR1" refresh_panel="pgrep -f 'bash.*panel\.sh' | xargs -n1 kill -s USR1"
fi
hc emit_hook reload hc emit_hook reload
@ -91,8 +88,6 @@ hc set focus_follows_monitor_boundaries true
hc mousebind $Mod-Button1 move hc mousebind $Mod-Button1 move
hc mousebind $Mod-Button3 resize hc mousebind $Mod-Button3 resize
# no tags on pinebook pro
if [ "$HOSTNAME" != "ellison" ]; then
# basic movement in tiling and floating mode # basic movement in tiling and floating mode
# focusing clients # focusing clients
hc keybind $Mod-Left focus left hc keybind $Mod-Left focus left
@ -141,7 +136,6 @@ if [ "$HOSTNAME" != "ellison" ]; then
hc keybind $Mod-Tab cycle_all +1 hc keybind $Mod-Tab cycle_all +1
hc keybind $Mod-Shift-Tab cycle_all -1 hc keybind $Mod-Shift-Tab cycle_all -1
hc keybind $Mod-Alt-Tab jumpto urgent hc keybind $Mod-Alt-Tab jumpto urgent
fi
# rules # rules
hc unrule -F hc unrule -F
@ -168,12 +162,9 @@ hc unlock
# or simply: # or simply:
hc detect_monitors hc detect_monitors
# no panel on pinebook pro
if [ "$HOSTNAME" != "ellison" ]; then
# restart panel # restart panel
~/.config/herbstluftwm/killpanel.sh ~/.config/herbstluftwm/killpanel.sh
{ exec ~/.config/herbstluftwm/panel.sh; } & { exec ~/.config/herbstluftwm/panel.sh; } &
fi
# restart xob # restart xob
pgrep xob | xargs -n1 kill -9 pgrep xob | xargs -n1 kill -9