This commit is contained in:
Marc Beninca 2024-11-12 06:43:20 +01:00
parent b37e4abc4e
commit 304d163d74
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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}"
}