diff options
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 |