This commit is contained in:
Marc Beninca 2024-11-12 09:50:58 +01:00
parent d7e2f15257
commit 6267af5ef8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,8 +1,8 @@
function socks { function socks {
local value local value
case "${1}" in case "${1}" in
'on') value='manual' ;; "on") value="manual" ;;
*) value='none' ;; *) value="none" ;;
esac esac
gsettings set 'org.gnome.system.proxy' 'mode' "${value}" gsettings set "org.gnome.system.proxy" "mode" "${value}"
} }