2014-02-07 02:16:39 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-07-26 03:58:21 +02:00
|
|
|
type nm-applet > /dev/null 2>&1 || exit 0
|
2014-05-21 20:21:15 +02:00
|
|
|
|
2014-02-07 02:16:39 +01:00
|
|
|
# Hide nm-applet when network-manager is disabled
|
|
|
|
nm_enabled=false
|
|
|
|
[ -f /var/run/qubes-service/network-manager ] && nm_enabled=true
|
|
|
|
gsettings set org.gnome.nm-applet show-applet $nm_enabled
|