ws() { local bool local group="org.gnome.mutter" local name="workspaces-only-on-primary" local var="${group}/${name}" # get bool="$(gsettings get "${group}" "${name}")" log_debug "${var}: ${bool}" # not bool="$(not "${bool}")" log_debug "${var}: ${bool}" # set gsettings set "${group}" "${name}" "${bool}" log_info "${var}: ${bool}" }