xinitrc withvolume and screenrc
This commit is contained in:
parent
49a4423e99
commit
4cf5fb9f73
3 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,7 @@ ln -s $WAI/bashrc ./.bashrc
|
|||
ln -s $WAI/vimrc ./.vimrc
|
||||
ln -s $WAI/gitconfig ./.gitconfig
|
||||
ln -s $WAI/xinitrc ./.xinitrc
|
||||
ln -s $WAI/screenrc ./.screenrc
|
||||
|
||||
ln -s $WAI/chooseWP.sh ~/Pictures/wallpapers/chooseWP.sh
|
||||
|
||||
|
|
1
screenrc
Normal file
1
screenrc
Normal file
|
@ -0,0 +1 @@
|
|||
startup_message off
|
7
xinitrc
7
xinitrc
|
@ -21,10 +21,11 @@ while true; do
|
|||
DATE=`date +"%F, %H:%M:%S - %s"`
|
||||
BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' )
|
||||
# STATUS=$( acpi -b | sed 's/.*: \([a-zA-Z]*\),.*/\1/gi' )
|
||||
VOLUME=`amixer get Master | tail -n 2 | head -n 1 | cut -d' ' -f7`
|
||||
MEM=`awk '/MemTotal/ {printf( "%.0fMb", $2 / 1024 )}' /proc/meminfo`
|
||||
|
||||
|
||||
xsetroot -name "$MEM :: $BATT :: $DATE"
|
||||
xsetroot -name "$VOLUME :: $MEM :: $BATT :: $DATE"
|
||||
sleep 2
|
||||
done &
|
||||
|
||||
|
@ -33,9 +34,9 @@ done &
|
|||
exec /home/frank/Programmation/dwm/dwm
|
||||
|
||||
|
||||
|
||||
|
||||
# exec gnome-session
|
||||
|
||||
|
||||
# exec startkde
|
||||
# exec startxfce4
|
||||
# ...or the Window Manager of your choice
|
||||
|
|
Loading…
Reference in a new issue