summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index c0889d3..cc4bb57 100755
--- a/run.sh
+++ b/run.sh
@@ -3,7 +3,7 @@
set_proxy() {
case "$XDG_SESSION_DESKTOP" in
- "gnome" | "ubuntu")
+ "gnome" | "gnome-xorg" | "ubuntu")
gsettings set org.gnome.system.proxy mode "manual"
gsettings set org.gnome.system.proxy.socks host "127.0.0.1"
gsettings set org.gnome.system.proxy.socks port "10808"
@@ -23,7 +23,7 @@ set_proxy() {
unset_proxy() {
case "$XDG_SESSION_DESKTOP" in
- "gnome" | "ubuntu")
+ "gnome" | "gnome-xorg" | "ubuntu")
gsettings set org.gnome.system.proxy mode "none"
;;