diff --git a/sh/gnome.sh b/sh/gnome.sh index 4aa6746..c773ff8 100644 --- a/sh/gnome.sh +++ b/sh/gnome.sh @@ -1,3 +1,12 @@ +sh_gnome_proxy() { + local value + case "${1}" in + "on") value="manual" ;; + *) value="none" ;; + esac + gsettings set "org.gnome.system.proxy" "mode" "${value}" +} + sh_gnome_workspaces_primary() { local bool local group="org.gnome.mutter" diff --git a/sh/proxy.sh b/sh/proxy.sh deleted file mode 100644 index dd154a6..0000000 --- a/sh/proxy.sh +++ /dev/null @@ -1,8 +0,0 @@ -socks() { - local value - case "${1}" in - "on") value="manual" ;; - *) value="none" ;; - esac - gsettings set "org.gnome.system.proxy" "mode" "${value}" -}