ws
This commit is contained in:
parent
304d163d74
commit
3d784b81c4
1 changed files with 7 additions and 10 deletions
|
@ -1,12 +1,9 @@
|
||||||
ws() {
|
ws() {
|
||||||
local boolean="${1}"
|
local bool
|
||||||
if [ "${boolean}" = "1" ]; then
|
local group="org.gnome.mutter"
|
||||||
boolean="true"
|
local var="workspaces-only-on-primary"
|
||||||
else
|
bool="$(gsettings get "${group}" "${var}")"
|
||||||
boolean="false"
|
bool="$(not "${bool}")"
|
||||||
fi
|
gsettings set "${group}" "${var}" "${bool}"
|
||||||
gsettings set \
|
log_info "${group}/${var}: ${bool}"
|
||||||
"org.gnome.mutter" \
|
|
||||||
"workspaces-only-on-primary" \
|
|
||||||
"${boolean}"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue