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}" local boolean="${1}"
if [ "${boolean}" == '1' ] ; then if [ "${boolean}" = "1" ]; then
boolean='true' boolean="true"
else else
boolean='false' boolean="false"
fi fi
gsettings 'set' \ gsettings set \
'org.gnome.mutter' \ "org.gnome.mutter" \
'workspaces-only-on-primary' \ "workspaces-only-on-primary" \
"${boolean}" "${boolean}"
} }