From 946496a44167289e924d925aacb2102e33862fe6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Nov 2020 17:57:47 +0100 Subject: Add local Rust, Ruby, and Node bin directories to PATH --- bspwm/.config/bspwm/bspwmrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'bspwm') 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 -- cgit v1.2.1