Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tips [2013/07/14 14:58] – add section do maths with xfrun4 mhtrinh | tips [2013/08/05 22:41] – [Other Unique Xfce Features] mike | ||
---|---|---|---|
Line 231: | Line 231: | ||
* (check) Save match in command history | * (check) Save match in command history | ||
- | ===== Other Unique Xfce Features ===== | ||
- | ====== | + | ====== |
- | Xfce allows full control over multi-line | + | ===== Toggle |
+ | Short Bash script to toggle the autohide property of a panel, so you can bind for example a keyboard shortcut to quickly show and hide a panel. | ||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
+ | test -z " | ||
+ | test ! -z "`echo $1 | sed s/ | ||
+ | |||
+ | CHANNEL=xfce4-panel | ||
+ | PANELID=$1 | ||
+ | PROP=/ | ||
+ | |||
+ | if `xfconf-query -c $CHANNEL -p $PROP >/ | ||
+ | xfconf-query -c $CHANNEL -T -p $PROP | ||
+ | else | ||
+ | xfconf-query -c $CHANNEL -n -p $PROP -t bool -s true | ||
+ | fi | ||
+ | </ |