Skip to content

Instantly share code, notes, and snippets.

@arodu
Created May 18, 2017 15:04
Show Gist options
  • Save arodu/7837a8ff0ece65f1aa3cf9ebd5f39e86 to your computer and use it in GitHub Desktop.
Save arodu/7837a8ff0ece65f1aa3cf9ebd5f39e86 to your computer and use it in GitHub Desktop.
Toggle autohide: none / intelligent for xfce
#!/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