gnome/proxy

This commit is contained in:
Marc Beninca 2024-11-18 12:40:20 +01:00
parent d82805ff38
commit b380b2c0b0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 9 additions and 8 deletions

View file

@ -1,3 +1,12 @@
sh_gnome_proxy() {
local value
case "${1}" in
"on") value="manual" ;;
*) value="none" ;;
esac
gsettings set "org.gnome.system.proxy" "mode" "${value}"
}
sh_gnome_workspaces_primary() { sh_gnome_workspaces_primary() {
local bool local bool
local group="org.gnome.mutter" local group="org.gnome.mutter"

View file

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