From e8650fd40168cc425456391733fff419460c42f9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 25 Jul 2020 23:10:30 +0200 Subject: 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. --- sxhkd/.config/sxhkd/sxhkdrc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sxhkd') 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 # -- cgit v1.2.1