diff options
author | David Robillard <d@drobilla.net> | 2020-11-10 17:57:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-10 17:58:15 +0100 |
commit | 946496a44167289e924d925aacb2102e33862fe6 (patch) | |
tree | 352bc292e5cc1c3ae70787ad86bdbc9dabe0f542 /bspwm | |
parent | 1651d1670d25b06e852bbf907f467be2bdbaa20b (diff) | |
download | dotfiles-946496a44167289e924d925aacb2102e33862fe6.tar.gz dotfiles-946496a44167289e924d925aacb2102e33862fe6.tar.bz2 dotfiles-946496a44167289e924d925aacb2102e33862fe6.zip |
Add local Rust, Ruby, and Node bin directories to PATH
Diffstat (limited to 'bspwm')
-rwxr-xr-x | bspwm/.config/bspwm/bspwmrc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 3550cfa..9e105b3 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -26,7 +26,15 @@ xmodmap ~/.Xmodmap sxhkd & # Show panel when mouse is on top edge -xdotool behave_screen_edge --delay 1000 top search --name "Top Expanded Edge Panel" windowmap exec bspc config top_padding $PANEL_PAD > /dev/null & +# xdotool behave_screen_edge --delay 1000 top search --name "xfce4-panel" windowmap windowraise exec bspc config top_padding $PANEL_PAD > /dev/null & + +# Show panel when mouse is on top edge +xdotool behave_screen_edge --delay 1000 top exec \ + xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s 0 + +# Hide panel when mouse is on bottom edge +# xdotool behave_screen_edge --delay 1000 bottom search --name "xfce4-panel" windowunmap exec bspc config top_padding 0 > /dev/null & # Hide panel when mouse is on bottom edge -xdotool behave_screen_edge --delay 1000 bottom search --name "Top Expanded Edge Panel" windowunmap exec bspc config top_padding 0 > /dev/null & +xdotool behave_screen_edge --delay 1000 bottom exec \ + xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s 2 |