mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-21 19:52:29 +00:00
d8f23e0276
To make my life a bit easier
21 lines
555 B
Bash
Executable File
21 lines
555 B
Bash
Executable File
#!/bin/bash
|
|
# @balkian
|
|
# Changes the behaviour of the window cycling in xfce4
|
|
#
|
|
# Extracted from: http://askubuntu.com/questions/136052/cycle-windows-over-all-workspaces-in-xfce-while-being-able-to-cycle-over-one-wo
|
|
#
|
|
|
|
OLD_VALUE=$(xfconf-query -c xfwm4 -p /general/cycle_workspaces)
|
|
|
|
if [ $OLD_VALUE == "true" ]; then
|
|
echo 'will now disable workspace cycling'
|
|
NEW_VALUE="false"
|
|
fi
|
|
|
|
if [ $OLD_VALUE == "false" ]; then
|
|
echo 'will now turn on workspace cycling'
|
|
NEW_VALUE="true"
|
|
fi
|
|
|
|
xfconf-query -c xfwm4 -p /general/cycle_workspaces -s $NEW_VALUE
|