diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-04-17 13:31:53 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-04-17 13:31:53 +0200 |
commit | 1ff4d5a8ce8b52a05f4a4eff8c440d316265ee65 (patch) | |
tree | 6b2a2b601ccd1277d9922f3d3818005adc777eec /i3status.init | |
parent | 1bef3dca5b9ab404e017037ed309907e1ac796c3 (diff) |
Replace wmiistatus with i3status in files
Diffstat (limited to 'i3status.init')
-rwxr-xr-x | i3status.init | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/i3status.init b/i3status.init index fa30339..9b5ea6d 100755 --- a/i3status.init +++ b/i3status.init @@ -1,32 +1,32 @@ #!/bin/sh # ### BEGIN INIT INFO -# Provides: wmiistatus +# Provides: i3status # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: little application to fill up wmii's status bar -# Description: little application to fill up wmii's status bar +# Short-Description: Generates a status line for dzen2 or wmii +# Description: Generates a status line for dzen2 or wmii ### END INIT INFO -# For the pidfile, you must be root. wmiistatus itself runs as user just fine +# For the pidfile, you must be root. i3status itself runs as user just fine [ $(id -ru) -eq 0 ] || { echo "You need to be root"; exit 1; } . /lib/lsb/init-functions case "$1" in -start) log_daemon_msg "Starting wmii status bar filler" "wmiistatus" - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/wmiistatus.pid --name wmiistatus --startas /usr/bin/wmiistatus +start) log_daemon_msg "Starting wmii status bar filler" "i3status" + start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status.pid --name i3status --startas /usr/bin/i3status log_end_msg $? ;; -stop) log_daemon_msg "Stopping wmii status bar filler" "wmiistatus" - start-stop-daemon --stop --quiet --pidfile /var/run/wmiistatus.pid --name wmiistatus +stop) log_daemon_msg "Stopping wmii status bar filler" "i3status" + start-stop-daemon --stop --quiet --pidfile /var/run/i3status.pid --name i3status log_end_msg $? ;; -restart|reload|force-reload) log_daemon_msg "Restarting wmii status bar filler" "wmiistatus" - start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/wmiistatus.pid --name wmiistatus - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/wmiistatus.pid --name wmiistatus --startas /usr/bin/wmiistatus +restart|reload|force-reload) log_daemon_msg "Restarting wmii status bar filler" "i3status" + start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/i3status.pid --name i3status + start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status.pid --name i3status --startas /usr/bin/i3status ;; *) log_action_msg "Usage: $0 {start|stop|restart|reload|force-reload}" exit 2 |