xinitrc habak
* Tried changing the wallpaper setter, experimented with nitrogen, but picked habak for now in the end.
This commit is contained in:
parent
0ad4fb7574
commit
3b97eb7761
1 changed files with 6 additions and 29 deletions
35
xinitrc
35
xinitrc
|
@ -1,37 +1,14 @@
|
|||
# -*- mode: shell-script -*-
|
||||
|
||||
#xmodmap -e "pointer = 3 2 1"
|
||||
#exec awesome
|
||||
while :; do
|
||||
ROTNAME="`date +%a\ %d\ %b\ %R\ %Z\ %Y`"
|
||||
|
||||
COWUPDT=`cat ~/.updates`
|
||||
if [ $COWUPDT -gt 0 ]; then
|
||||
ROTNAME="aur: $COWUPDT | $ROTNAME"
|
||||
fi
|
||||
|
||||
PACUPDT=`pacman -Qu | wc -l`
|
||||
if [ $PACUPDT -gt 0 ]; then
|
||||
ROTNAME="updates: $PACUPDT | $ROTNAME"
|
||||
fi
|
||||
|
||||
IACTCNT=`find ~/Mail/iactor/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $IACTCNT -gt 0 ]; then
|
||||
ROTNAME="iactor: $IACTCNT | $ROTNAME"
|
||||
fi
|
||||
|
||||
GMAILCT=`find ~/Mail/gmail/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $GMAILCT -gt 0 ]; then
|
||||
ROTNAME="gmail: $GMAILCT | $ROTNAME"
|
||||
fi
|
||||
|
||||
ARCHCNT=`find ~/Mail/arch/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $ARCHCNT -gt 0 ]; then
|
||||
ROTNAME="arch: $ARCHCNT | $ROTNAME"
|
||||
fi
|
||||
|
||||
xsetroot -name "$ROTNAME"
|
||||
xsetroot -name "`~/.getrootname`"
|
||||
sleep 1m
|
||||
done &
|
||||
feh --bg-tile ~/Pictures/tile.png
|
||||
#feh --bg-tile ~/Pictures/tile.png
|
||||
#nitrogen --restore
|
||||
habak -mp 0,0 ~/Pictures/wall/1680x1050 -mp -0,0 ~/Pictures/wall/1280x1024
|
||||
emacs --daemon
|
||||
#xrandr --output DVI-I-1 --mode 1680x1050 --primary --output VGA-1 --right-of DVI-I-1
|
||||
xmodmap -e "pointer = 3 2 1"
|
||||
|
|
Loading…
Reference in a new issue