8 lines
152 B
Bash
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}"
|
|
}
|