2014-02-07 02:16:39 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-02-05 03:14:41 +01:00
|
|
|
which 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
|