Am I stupid?
This commit is contained in:
parent
74c3a53c31
commit
150eab0b4c
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ case $1 in
|
||||||
BATT_TIME=$(acpi -b | cut -d, -f3 | cut -d" " -f2)
|
BATT_TIME=$(acpi -b | cut -d, -f3 | cut -d" " -f2)
|
||||||
#BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' )
|
#BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' )
|
||||||
VOLUME=`amixer get Master | tail -n 2 | head -n 1 | cut -d' ' -f7`
|
VOLUME=`amixer get Master | tail -n 2 | head -n 1 | cut -d' ' -f7`
|
||||||
MEM=`awk '/MemTotal/ {printf( "%.0fMb", $2 / 1024 )}' /proc/meminfo`
|
MEM=`awk '/MemFree/ {printf( "%.0fMb", $2 / 1024 )}' /proc/meminfo`
|
||||||
|
|
||||||
xsetroot -name "$VOLUME :: $MEM :: $BATT_PCT $BATT_TIME :: $DATE"
|
xsetroot -name "$VOLUME :: $MEM :: $BATT_PCT $BATT_TIME :: $DATE"
|
||||||
;;
|
;;
|
||||||
|
|
2
bashrc
2
bashrc
|
@ -2,7 +2,7 @@
|
||||||
shopt -s checkwinsize
|
shopt -s checkwinsize
|
||||||
|
|
||||||
#Launch startx when login
|
#Launch startx when login
|
||||||
[[ -z $DISPLAY && $XDG_VTNR -le 4 ]] && exec startx
|
#[[ -z $DISPLAY && $XDG_VTNR -le 4 ]] && exec startx
|
||||||
|
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
PROMPT_COMMAND='history -a'
|
PROMPT_COMMAND='history -a'
|
||||||
|
|
2
xinitrc
2
xinitrc
|
@ -24,7 +24,7 @@ wmname LG3D
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
$OCTOPUS refresh
|
$OCTOPUS refresh
|
||||||
sleep 2
|
sleep 10
|
||||||
done &
|
done &
|
||||||
|
|
||||||
exec /home/frank/Programmation/dotfiles/dwm/dwm
|
exec /home/frank/Programmation/dotfiles/dwm/dwm
|
||||||
|
|
Loading…
Reference in a new issue