2024-11-12 05:43:20 +00:00
|
|
|
ws() {
|
2024-11-12 05:52:21 +00:00
|
|
|
local bool
|
|
|
|
local group="org.gnome.mutter"
|
2024-11-12 06:28:41 +00:00
|
|
|
local name="workspaces-only-on-primary"
|
|
|
|
local var="${group}/${name}"
|
|
|
|
# get
|
|
|
|
bool="$(gsettings get "${group}" "${name}")"
|
|
|
|
log_debug "${var}: ${bool}"
|
|
|
|
# not
|
2024-11-12 05:52:21 +00:00
|
|
|
bool="$(not "${bool}")"
|
2024-11-12 06:28:41 +00:00
|
|
|
log_debug "${var}: ${bool}"
|
|
|
|
# set
|
|
|
|
gsettings set "${group}" "${name}" "${bool}"
|
|
|
|
log_info "${var}: ${bool}"
|
2023-08-21 12:32:38 +00:00
|
|
|
}
|