diff options
author | David Robillard <d@drobilla.net> | 2020-07-25 23:10:30 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-25 23:10:30 +0200 |
commit | e8650fd40168cc425456391733fff419460c42f9 (patch) | |
tree | 685444ee2d469d73a401e9093160ee5102acb815 /sxhkd | |
parent | 8904e00414c689ce3b59b49ccdf1a2a87622d8ff (diff) | |
download | dotfiles-e8650fd40168cc425456391733fff419460c42f9.tar.gz dotfiles-e8650fd40168cc425456391733fff419460c42f9.tar.bz2 dotfiles-e8650fd40168cc425456391733fff419460c42f9.zip |
Update panel show/hide keybindings for xfce4-panel
The X11 properties for xfce-panel are a useless mess, so just set the config to
make it hide. This is a bit crap because moving the mouse to the top edge
doesn't fix the padding, but whatever.
Diffstat (limited to 'sxhkd')
-rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 39b71a7..5a1cbf3 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -4,7 +4,7 @@ # terminal emulator super + Return - gnome-terminal + xfce4-terminal # program launcher super + ctrl + r @@ -16,13 +16,12 @@ super + Escape # show panel super + ctrl + p - bspc config top_padding $PANEL_PAD; \ - xdotool search --name "Top Expanded Edge Panel" windowmap; \ - xdotool search --name "Top Expanded Edge Panel" windowraise; + bspc config top_padding 46; \ + xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s 0 # hide panel super + ctrl + shift + p - xdotool search --name "Top Expanded Edge Panel" windowunmap; \ + xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s 2; \ bspc config top_padding 0 # |