gsettings/ws
This commit is contained in:
parent
0b960f7fba
commit
003d02f226
1 changed files with 12 additions and 0 deletions
12
bash/gsettings.sh
Normal file
12
bash/gsettings.sh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
function ws {
|
||||||
|
local boolean="${1}"
|
||||||
|
if [ "${boolean}" == '1' ] ; then
|
||||||
|
boolean='true'
|
||||||
|
else
|
||||||
|
boolean='false'
|
||||||
|
fi
|
||||||
|
gsettings 'set' \
|
||||||
|
'org.gnome.mutter' \
|
||||||
|
'workspaces-only-on-primary' \
|
||||||
|
"${boolean}"
|
||||||
|
}
|
Loading…
Reference in a new issue