summaryrefslogtreecommitdiff
path: root/scriptlets/sidebar_toggler.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scriptlets/sidebar_toggler.sh')
-rwxr-xr-xscriptlets/sidebar_toggler.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scriptlets/sidebar_toggler.sh b/scriptlets/sidebar_toggler.sh
new file mode 100755
index 0000000..8ebdde5
--- /dev/null
+++ b/scriptlets/sidebar_toggler.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+PANELNUM=2
+xfconf-query -c xfce4-panel -p "/panels/panel-$PANELNUM/autohide-behavior" -s $(( $( xfconf-query -c xfce4-panel -p "/panels/panel-$PANELNUM/autohide-behavior" ) ^ 2 )) \ No newline at end of file