summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/net_applet.desktop12
-rwxr-xr-xscripts/net_applet.xinit5
2 files changed, 17 insertions, 0 deletions
diff --git a/data/net_applet.desktop b/data/net_applet.desktop
new file mode 100644
index 0000000..dbfc8b8
--- /dev/null
+++ b/data/net_applet.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=NetApplet
+GenericName=Network Watcher Applet
+GenericName[fr]=Applet de Contrôle du réseau
+Exec=net_applet
+Icon=disconnected
+Type=Application
+Terminal=0
+X-KDE-autostart-after=panel
+X-KDE-UniqueApplet=true
+X-KDE-autostart-condition=General:AutoStart:true
diff --git a/scripts/net_applet.xinit b/scripts/net_applet.xinit
new file mode 100755
index 0000000..0024726
--- /dev/null
+++ b/scripts/net_applet.xinit
@@ -0,0 +1,5 @@
+#!/bin/sh
+DESKTOP=$1
+case $DESKTOP in
+ KDE|GNOME|IceWM) exec /usr/bin/net_applet;;
+esac \ No newline at end of file