[wiki] [upstream] renamed .xinirc file into .xinitrc.txt in order to make the preview version accepting this change || arg

From: <hg_AT_suckless.org>
Date: Tue, 9 Dec 2008 10:41:20 +0000 (GMT)

changeset: 192:abc7c0c72cc5
parent: 190:0e77e5622451
user: arg_AT_www.suckless.org
date: Tue Dec 09 10:40:56 2008 +0000
files: dwm/patches/color_status_bar.md dwm/patches/dwm-5.2-colorstatus.xinitrc dwm/patches/dwm-5.2-colorstatus.xinitrc.txt
description:
renamed .xinirc file into .xinitrc.txt in order to make the preview version accepting this change


diff -r 0e77e5622451 -r abc7c0c72cc5 dwm/patches/color_status_bar.md
--- a/dwm/patches/color_status_bar.md Sun Dec 07 01:19:53 2008 -0500
+++ b/dwm/patches/color_status_bar.md Tue Dec 09 10:40:56 2008 +0000
_AT_@ -39,5 +39,5 @@
 
 
 [1]: http://www.suckless.org/dwm/patches/dwm-5.2-colorstatus.diff
-[2]: http://www.suckless.org/dwm/patches/dwm-5.2-colorstatus.xinitrc
+[2]: http://www.suckless.org/dwm/patches/dwm-5.2-colorstatus.xinitrc.txt
 
diff -r 0e77e5622451 -r abc7c0c72cc5 dwm/patches/dwm-5.2-colorstatus.xinitrc
--- a/dwm/patches/dwm-5.2-colorstatus.xinitrc Sun Dec 07 01:19:53 2008 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
_AT_@ -1,24 +0,0 @@
-while true
-do
- datestr=`date '+%a, %x'`
- timestr=`date '+%H:%M'`
-
- cpuavgload=`uptime | sed -n 's/.*: //; s/, .*// p'`
-
- batcurrent=`sed -n 's/ mAh//; s/remaining[ a-z:]*// p' /proc/acpi/battery/BAT1/state`
- batfull=`sed -n 's/ mAh//; s/last full[ a-z:]*// p' /proc/acpi/battery/BAT1/info`
- batpercent=`echo "($batcurrent*100)/$batfull" | bc`
- if [ $batpercent -lt 10 ]
- then batpercent=`echo [c]$batpercent%[c]`
- else batpercent=`echo $batpercent%`
- fi
-
- audiofront=`amixer sget Front | sed -n 's/\] \[[^%]*\]//; s/[ ]*Front Left: Playback [0-9]* \[// p'`
-
- mailnew=`claws-mail --status inbox | sed -n 's/ [ 0-9ClawsMinotrug\.]*// p'`
-
- echo -e NEW mail: $mailnew \| VOL front: $audiofront \| BAT:[i]$batpercent[i]\| CPU: $cpuavgload \| $datestr[c]$timestr
-
- sleep 2
-done | dwm
-
diff -r 0e77e5622451 -r abc7c0c72cc5 dwm/patches/dwm-5.2-colorstatus.xinitrc.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm/patches/dwm-5.2-colorstatus.xinitrc.txt Tue Dec 09 10:40:56 2008 +0000
_AT_@ -0,0 +1,24 @@
+while true
+do
+ datestr=`date '+%a, %x'`
+ timestr=`date '+%H:%M'`
+
+ cpuavgload=`uptime | sed -n 's/.*: //; s/, .*// p'`
+
+ batcurrent=`sed -n 's/ mAh//; s/remaining[ a-z:]*// p' /proc/acpi/battery/BAT1/state`
+ batfull=`sed -n 's/ mAh//; s/last full[ a-z:]*// p' /proc/acpi/battery/BAT1/info`
+ batpercent=`echo "($batcurrent*100)/$batfull" | bc`
+ if [ $batpercent -lt 10 ]
+ then batpercent=`echo [c]$batpercent%[c]`
+ else batpercent=`echo $batpercent%`
+ fi
+
+ audiofront=`amixer sget Front | sed -n 's/\] \[[^%]*\]//; s/[ ]*Front Left: Playback [0-9]* \[// p'`
+
+ mailnew=`claws-mail --status inbox | sed -n 's/ [ 0-9ClawsMinotrug\.]*// p'`
+
+ echo -e NEW mail: $mailnew \| VOL front: $audiofront \| BAT:[i]$batpercent[i]\| CPU: $cpuavgload \| $datestr[c]$timestr
+
+ sleep 2
+done | dwm
+
Received on Tue Dec 09 2008 - 11:41:20 CET

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:30:29 CEST