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