2024-11-12 09:00:55 +00:00
|
|
|
socks() {
|
|
|
|
local value
|
2023-05-09 20:02:34 +00:00
|
|
|
case "${1}" in
|
2024-11-12 08:50:58 +00:00
|
|
|
"on") value="manual" ;;
|
|
|
|
*) value="none" ;;
|
2023-05-09 20:02:34 +00:00
|
|
|
esac
|
2024-11-12 08:50:58 +00:00
|
|
|
gsettings set "org.gnome.system.proxy" "mode" "${value}"
|
2023-05-09 20:02:34 +00:00
|
|
|
}
|