diff --git a/bash/gsettings.sh b/bash/gsettings.sh new file mode 100644 index 0000000..1fd3b72 --- /dev/null +++ b/bash/gsettings.sh @@ -0,0 +1,12 @@ +function ws { +local boolean="${1}" + if [ "${boolean}" == '1' ] ; then + boolean='true' + else + boolean='false' + fi + gsettings 'set' \ + 'org.gnome.mutter' \ + 'workspaces-only-on-primary' \ + "${boolean}" +}