ws
This commit is contained in:
parent
95828fe06c
commit
9da2ddeb6f
1 changed files with 10 additions and 4 deletions
|
@ -1,9 +1,15 @@
|
|||
ws() {
|
||||
local bool
|
||||
local group="org.gnome.mutter"
|
||||
local var="workspaces-only-on-primary"
|
||||
bool="$(gsettings get "${group}" "${var}")"
|
||||
local name="workspaces-only-on-primary"
|
||||
local var="${group}/${name}"
|
||||
# get
|
||||
bool="$(gsettings get "${group}" "${name}")"
|
||||
log_debug "${var}: ${bool}"
|
||||
# not
|
||||
bool="$(not "${bool}")"
|
||||
gsettings set "${group}" "${var}" "${bool}"
|
||||
log_info "${group}/${var}: ${bool}"
|
||||
log_debug "${var}: ${bool}"
|
||||
# set
|
||||
gsettings set "${group}" "${name}" "${bool}"
|
||||
log_info "${var}: ${bool}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue