From 6267af5ef8f062856788ddb83c1884e2fe99117e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 12 Nov 2024 09:50:58 +0100 Subject: [PATCH] proxy --- bash/proxy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash/proxy.sh b/bash/proxy.sh index a5713ad..e594e63 100644 --- a/bash/proxy.sh +++ b/bash/proxy.sh @@ -1,8 +1,8 @@ function socks { local value case "${1}" in - 'on') value='manual' ;; - *) value='none' ;; + "on") value="manual" ;; + *) value="none" ;; esac - gsettings set 'org.gnome.system.proxy' 'mode' "${value}" + gsettings set "org.gnome.system.proxy" "mode" "${value}" }