1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/bash
# Source settings file
. $HOME/.fvwm/dzen/settings
# Source dzen command
. $HOME/.fvwm/dzen/command
while :; do
echo " ^fg($MAGENTA) \
$(windowname 40 | tr '[:lower:]' '[:upper:]') \
^fg($FG) | \
^fg($BLUE) $(date +%H:%M) "
sleep $SLEEP
done | $DZEN
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/bash
# Source settings file
. $HOME/.fvwm/dzen/settings
# Modify Settings
Y=$((Y+35))
# Source dzen command
. $HOME/.fvwm/dzen/command
while :; do
echo " ^fg($GREEN)^ca(1,mpc toggle)^ca(3,urxvt -geometry -50+50 -e ncmpcpp)^ca(4,mpc next)^ca(5,mpc prev) \
$(mpc -f %artist% current | tr '[:lower:]' '[:upper:]') \
^fg($FG) | \
^fg($YELLOW) \
$(mpc -f %title% current | tr '[:lower:]' '[:upper:]')^ca()^ca()^ca()^ca() \
^fg($FG) | \
^fg($RED)^ca(4,amixer set Master 5%+)^ca(5,amixer set Master 5%-) \
$(amixer sget Master | grep -m1 "%]" | cut -d "[" -f2 | cut -d "]" -f1) ^ca()^ca()"
sleep $SLEEP
done | $DZEN
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #!/bin/bash
# Source settings file
. $HOME/.fvwm/dzen/settings
# Modify settings
Y=$((Y+70))
# Source dzen command
. $HOME/.fvwm/dzen/command
# Get mailcount Gmail
gmail() {
count=0
if [[ ! -n `ls ${MAILDIR}` ]]; then
echo -n "0"
else
count=`ls -1 ${MAILDIR} | wc -l`
echo -n "${count}"
fi
}
# Get mailcount mail.com
cmail() {
count=0
if [[ ! -n `ls ${MAILDIR2}` ]]; then
echo -n "0"
else
count=`ls -1 ${MAILDIR2} | wc -l`
echo -n "${count}"
fi
}
# Get pacman packages
pacman() {
echo -n $(grep core ~/.pacmanupdates | wc -l)
echo -n "/"
echo -n $(grep extra ~/.pacmanupdates | wc -l)
echo -n "/"
echo -n $(grep community ~/.pacmanupdates | wc -l)
}
while :; do
echo " ^fg($RED) ^ca(1,urxvt -geometry 110x30-50+50 -e mutt)\
MAIL: $(gmail)/$(cmail) ^ca()\
^fg($FG) | ^ca(1,urxvt -geometry -50+50 -e sudo packer -Syu)\
^fg($CYAN) PAC: $(pacman) ^ca()"
sleep $SLEEP
done | $DZEN
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #!/bin/bash
SLEEP=1
# Font
FONT="Neep:pixelsize=9"
# Colors
BG="#151515"
FG="#303030"
RED="#E84F4F"
LRED="#D23D3D"
GREEN="#B8D68C"
LGREEN="#A0CF5D"
YELLOW="#E1AA5D"
LYELLOW="#F39D21"
BLUE="#7DC1CF"
LBLUE="#4E9FB1"
MAGENTA="#9B64FB"
LMAGENTA="#8542FF"
CYAN="#6D878D"
LCYAN="#42717B"
# Geometry
HEIGHT=20
WIDTH=20
X=5
Y=10
# Mail
MAILDIR='/media/data/Mail/Gmail/INBOX/new'
MAILDIR2='/media/data/Mail/Mail/INBOX/new'
|
x
Notes
All colorful and clickable…
Font: Neep
Beastie said about 12 years ago
could i have a link to that background ?
crshd said about 12 years ago
@Beastie somewhere here
for n in {001..158}; do wget http://www.squidfingers.com/files/patterns/pattern_$n.zip; unzip pattern_$n.zip; done
edited about 12 years ago