gsettings/ws

This commit is contained in:
Marc Beninca 2023-08-21 14:32:38 +02:00
parent 0b960f7fba
commit 003d02f226

12
bash/gsettings.sh Normal file
View 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}"
}