ws
This commit is contained in:
parent
b37e4abc4e
commit
304d163d74
1 changed files with 11 additions and 11 deletions
|
@ -1,12 +1,12 @@
|
|||
function ws {
|
||||
ws() {
|
||||
local boolean="${1}"
|
||||
if [ "${boolean}" == '1' ] ; then
|
||||
boolean='true'
|
||||
if [ "${boolean}" = "1" ]; then
|
||||
boolean="true"
|
||||
else
|
||||
boolean='false'
|
||||
boolean="false"
|
||||
fi
|
||||
gsettings 'set' \
|
||||
'org.gnome.mutter' \
|
||||
'workspaces-only-on-primary' \
|
||||
gsettings set \
|
||||
"org.gnome.mutter" \
|
||||
"workspaces-only-on-primary" \
|
||||
"${boolean}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue