sh/bash/proxy.sh
2024-11-12 10:14:08 +01:00

8 lines
152 B
Bash

socks() {
local value
case "${1}" in
"on") value="manual" ;;
*) value="none" ;;
esac
gsettings set "org.gnome.system.proxy" "mode" "${value}"
}