Created
May 18, 2017 15:04
-
-
Save arodu/7837a8ff0ece65f1aa3cf9ebd5f39e86 to your computer and use it in GitHub Desktop.
Toggle autohide: none / intelligent for xfce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
current=$(xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior) | |
if [[ "$current" == "1" ]]; then | |
current="0" | |
else | |
current="1" | |
fi | |
xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s $current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment