[hackers] [wmii] Remove rc/(status rehash quit). They're taken care of in wmiirc, now.

From: Kris Maglione <jg_AT_suckless.org>
Date: Fri Feb 23 19:59:19 2007

changeset: 1942:6f04bcfa1796
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Fri Feb 23 13:55:11 2007 -0500
summary: Remove rc/(status rehash quit). They're taken care of in wmiirc, now.

diff -r 68cce217ea01 -r 6f04bcfa1796 main.c
--- a/main.c Fri Feb 23 13:48:21 2007 -0500
+++ b/main.c Fri Feb 23 13:55:11 2007 -0500
@@ -219,11 +219,11 @@ init_traps() {
         int fd[2];
 
         if(pipe(fd) != 0)
- fatal("Can't pipe(): %s\n", strerror(errno));;
+ fatal("Can't pipe(): %s\n", strerror(errno));
 
         switch(fork()) {
         case -1:
- fatal("Can't fork(): %s\n", strerror(errno));;
+ fatal("Can't fork(): %s\n", strerror(errno));
         default:
                 close(fd[0]);
                 sa.sa_flags = 0;
diff -r 68cce217ea01 -r 6f04bcfa1796 rc/quit
--- a/rc/quit Fri Feb 23 13:48:21 2007 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/sh
-echo -n quit | wmiir write /ctl
diff -r 68cce217ea01 -r 6f04bcfa1796 rc/rehash
--- a/rc/rehash Fri Feb 23 13:48:21 2007 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-#!/bin/sh
-proglist() {
- ls -lL "$@" 2>/dev/null | awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq
-}
-
-proglist `echo "$PATH" | sed 'y/:/ /'` >$PROGS_FILE.new
-
-mv $PROGS_FILE.new $PROGS_FILE
diff -r 68cce217ea01 -r 6f04bcfa1796 rc/status
--- a/rc/status Fri Feb 23 13:48:21 2007 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-#!/bin/sh
-# periodically print date and load average to the bar
-
-status() {
- echo -n `uptime | sed 's/.*://; s/,//g'`
- echo -n ' | '
- echo -n `date`
-}
-
-wmiir remove /rbar/status 2>/dev/null && sleep 2
-echo $WMII_SELCOLORS | wmiir create /rbar/status
-while wmiir xwrite /rbar/status "$WMII_NORMCOLORS" `status`
-do
- sleep 1
-done
Received on Fri Feb 23 2007 - 19:59:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:50 UTC