diff options
Diffstat (limited to '.dzen')
54 files changed, 0 insertions, 521 deletions
diff --git a/.dzen/battery.sh b/.dzen/battery.sh deleted file mode 100755 index c50e53d..0000000 --- a/.dzen/battery.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# -# original script by lyon8 <lyon8@gmx.net> -# modifications from original by <sean.escriva@gmail.com> -# show your laptop battery state in dzen -# Taken from http://www.webframp.com/2008/08/17/switchdzen/ and modified by Ryan -# Kavanagh <ryanakca@kubuntu.org> to add support for a missing battery and use -# /sys instead of /proc/acpi/battery - -BG='#000000' # dzen backgrounad -FG='#008dd5' # dzen foreground -W=114 # width of the dzen bar -GW=50 # width of the gauge -GFG='#33ccff' # color of the gauge -GH=7 # height of the gauge -GBG='#333' # color of gauge background -X=0 # x position -Y=0 # y position -FN='-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1' # font - -LOWBAT=10 # percentage of battery life marked as low -LOWCOL='#ff4747' # color when battery is low -CHGCOL='#60da11' # color when battery is charging -TIME_INT=2 # time interval in seconds to hold display -TIME_ITER=5 # no of iterations in which time is displayed - -PREBAR="^i(${HOME}/.dzen/icons/power-bat.xbm) " # caption (also icons are possible) - -echo -n $PREBAR #uncomment for an icon - -PRESENT=`acpi -b`; -if [ "${PRESENT}" ]; then - STATUS=`echo ${PRESENT} | grep Charging`; - - RPERC=`echo ${PRESENT} | cut -d, -f2 | sed -e 's/[^0-9]//g'`; - - # draw the bar and pipe everything into dzen - if [ $RPERC -le $LOWBAT ]; then - GFG=$LOWCOL; - fi - if [ "${STATUS}" ]; then - GFG=$CHGCOL; - else - GFG='#33ccff'; - fi - echo $RPERC -else - echo '??' -fi diff --git a/.dzen/dzen.sh b/.dzen/dzen.sh deleted file mode 100755 index 0d2b8e4..0000000 --- a/.dzen/dzen.sh +++ /dev/null @@ -1,156 +0,0 @@ -#!/bin/sh - -typeset -A DISKS -### -# Config -### -DATE_FORMAT="%a %d %b, %Y" -TIME_ZONES=("America/Toronto" "UTC") -DISKS=(home /home root /) -SEPERATOR=' ^fg(#86AA3F)^c(3)^fg() ' -BAR_BG='#7DA926' -BAR_FG='#B9D56E' -BAR_HH=6 -BAR_HW=40 -BAR_VH=12 -BAR_VW=3 -BAR_ARGS="-bg $BAR_BG -fg $BAR_FG -w $BAR_HW -h $BAR_HH" -ICON_DIR="$HOME/.dzen/icons/" -NETWORK_INTERFACE=eth0 -NET_DOWN_MAX=55 -NET_UP_MAX=14 -MAILDIR=~/.maildb/GMAIL/ - -GLOBALIVAL=1m -DATEIVAL=60 -TIMEIVAL=1 -DISKIVAL=1 -#CPUTEMPIVAL=5 -#CPUIVAL=1 -#NPIVAL=3 -NETIVAL=1 - - -### -# Functions -### -_date() -{ - date +${DATE_FORMAT} -} - -_time() -{ - local zone - print_space=0 - for zone in $TIME_ZONES; do - [[ $print_space -eq 1 ]] && print -n " " - print -n "${zone:t}: $(TZ=$zone date '+%H:%M')" - print_space=1 - done -} - -# -# Format: label1 mountpoint1 label2 mountpoint2 ... labelN mountpointN -# Copied and modified from Rob -get_disk_usage() { - local rstr; local tstr; local i; local sep - for i in ${(k)DISKS}; do - tstr=$(print `df -h $DISKS[$i]|sed -ne 's/^.* \([0-9]*\)% .*/\1/p'` 100 | \ - dzen2-gdbar -h $BAR_HH -w $BAR_HW -fg $BAR_FG -bg $BAR_BG -l "${i}" -nonl | \ - sed 's/[0-9]\+%//g;s/ / /g') - if [ ! -z "$rstr" ]; then - sep=${SEPERATOR} - fi - rstr="${rstr}${sep}${tstr}" - done - print -n $rstr -} - -# Requires mesure -get_net_rates() { - local up; local down - up=`mesure -K -l -c 3 -t -o $NETWORK_INTERFACE` - down=`mesure -K -l -c 3 -t -i $NETWORK_INTERFACE` - echo "$down $up" -} - -#cpu_temp() -#{ -# print -n ${(@)$(</proc/acpi/thermal_zone/THRM/temperature)[2,3]} -#} -# -#np() -#{ -# #MAXPOS="100" -# CAPTION="^i(${ICON_DIR}/musicS.xbm)" -# #POS=`mpc | sed -ne 's/^.*(\([0-9]*\)%).*$/\1/p'` -# #POSM="$POS $MAXPOS" -# print -n "$CAPTION " -# mpc | head -n1 | tr -d '\n' -# #echo "$POSM" | gdbar -h 7 -w 50 -fg $BAR_FG -bg $BAR_BG -#} -# -#cpu() -#{ -# gcpubar -c 2 -bg $BAR_BG -fg $BAR_FG -w $BAR_HW -h $BAR_HH | tail -n1 | tr -d '\n' -#} - -has_new_mail() { - find ${MAILDIR}/*/new -not -type d | wc -l -} - -DATEI=0 -TIMEI=0 -DISKI=0 -#NPI=0 -#CPUTEMPI=0 -#CPUI=0 -NETI=0 - -date=$(_date) -times=$(_time) -disk_usage=$(get_disk_usage) -#now_playing=$(np) -#temp=$(cpu_temp) -#cpumeter=$(cpu) -net_rates=( `get_net_rates` ) - -while true; do - [[ $DATEI -ge $DATEIVAL ]] && date=$(_date) && DATEI=0 - [[ $TIMEI -ge $TIMEIVAL ]] && times=$(_time) && TIMEI=0 - [[ $DISKI -ge $DISKIVAL ]] && disk_usage=$(get_disk_usage) && DISKI=0 - #[[ $NPI -ge $NPIVAL ]] && now_playing=$(np) && NPI=0 - #[[ $CPUI -ge $CPUIVAL ]] && cpumeter=$(cpu) && CPUI=0 - #[[ $CPUTEMPI -ge $CPUTEMPIVAL ]] && temp=$(cpu_temp) && CPUTEMPI=0 - [[ $NETI -ge $NETIVAL ]] && net_rates=( `get_net_rates` ) && NETI=0 - - # Disk usage - echo -n "${disk_usage}${SEPERATOR}" - # Network - echo $net_rates[1] | dzen2-gdbar -nonl -s v -w $BAR_VW -h $BAR_VH -min 0 \ - -max $NET_DOWN_MAX -fg $BAR_FG -bg $BAR_BG - echo -n " " - echo $net_rates[2] | dzen2-gdbar -nonl -s v -w $BAR_VW -h $BAR_VH -min 0 \ - -max $NET_UP_MAX -fg $BAR_FG -bg $BAR_BG - echo -n "${SEPERATOR}" - # Mail notification - if [ `has_new_mail` -gt 0 ]; then - echo -n "^fg(#73d216)" - fi - echo -n "^i(${ICON_DIR}/mail.xbm)^fg()${SEPERATOR}" - # Time and date - echo -n "${times}${SEPERATOR}" - echo -n "${date}" - echo - - DATEI=$(($DATEI+1)) - TIMEI=$(($TIMEI+1)) - DISKI=$(($DISKI+1)) - #NPI=$(($NPI+1)) - #CPUI=$(($CPUI+1)) - #CPUTEMPI=$(($CPUTEMPI+1)) - NETI=$(($NETI+1)) - - sleep $GLOBALIVAL -done diff --git a/.dzen/icons/arrow_down.xbm b/.dzen/icons/arrow_down.xbm deleted file mode 100644 index 0502235..0000000 --- a/.dzen/icons/arrow_down.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define net_down_03_width 8 -#define net_down_03_height 8 -static unsigned char net_down_03_bits[] = { - 0x38, 0x38, 0x38, 0x38, 0xFE, 0x7C, 0x38, 0x10 }; diff --git a/.dzen/icons/arrow_up.xbm b/.dzen/icons/arrow_up.xbm deleted file mode 100644 index b21c007..0000000 --- a/.dzen/icons/arrow_up.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define net_up_03_width 8 -#define net_up_03_height 8 -static unsigned char net_up_03_bits[] = { - 0x10, 0x38, 0x7C, 0xFE, 0x38, 0x38, 0x38, 0x38 }; diff --git a/.dzen/icons/bluetooth.xbm b/.dzen/icons/bluetooth.xbm deleted file mode 100644 index 3cc42d5..0000000 --- a/.dzen/icons/bluetooth.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define bluetooth_width 8 -#define bluetooth_height 8 -static unsigned char bluetooth_bits[] = { - 0x18, 0x2A, 0x6C, 0x38, 0x38, 0x6C, 0x2A, 0x18 }; diff --git a/.dzen/icons/corner.xbm b/.dzen/icons/corner.xbm deleted file mode 100644 index 0851adf..0000000 --- a/.dzen/icons/corner.xbm +++ /dev/null @@ -1,5 +0,0 @@ -#define corner_width 8 -#define corner_height 16 -static unsigned char corner_bits[] = { - 0x00, 0x00, 0x1e, 0x0e, 0x06, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/cpu.xbm b/.dzen/icons/cpu.xbm deleted file mode 100644 index 2c7d0e8..0000000 --- a/.dzen/icons/cpu.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define cpu2_width 16 -#define cpu2_height 16 -static unsigned char cpu2_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x12, 0xfc, 0x3f, - 0xfc, 0x3f, 0x1c, 0x38, 0x1c, 0x38, 0x1e, 0x78, 0xfc, 0x3f, 0xfe, 0x7f, - 0xfc, 0x3f, 0x48, 0x12, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/down.xbm b/.dzen/icons/down.xbm deleted file mode 100644 index bc350dd..0000000 --- a/.dzen/icons/down.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define down_width 16 -#define down_height 16 -static unsigned char down_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0xe0, 0x03, 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/fwd.xbm b/.dzen/icons/fwd.xbm deleted file mode 100644 index 3f52ea9..0000000 --- a/.dzen/icons/fwd.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define fwd_width 8 -#define fwd_height 8 -static unsigned char fwd_bits[] = { - 0x00, 0x12, 0x36, 0x7E, 0x7E, 0x36, 0x12, 0x00 }; diff --git a/.dzen/icons/layout-full-black.xbm b/.dzen/icons/layout-full-black.xbm deleted file mode 100644 index 1c97fde..0000000 --- a/.dzen/icons/layout-full-black.xbm +++ /dev/null @@ -1,5 +0,0 @@ -#define full_width 12 -#define full_height 12 -static unsigned char full_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0xfc, 0x03, 0x04, 0x02, 0x04, 0x02, - 0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0xfc, 0x03, 0x00, 0x00}; diff --git a/.dzen/icons/layout-full.xbm b/.dzen/icons/layout-full.xbm deleted file mode 100644 index f0492b6..0000000 --- a/.dzen/icons/layout-full.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define max_width 18 -#define max_height 18 -static unsigned char max_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFC, 0xFF, 0x00, 0xFC, 0xFF, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, - 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, - 0x04, 0x80, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-gimp.xbm b/.dzen/icons/layout-gimp.xbm deleted file mode 100644 index 4711c31..0000000 --- a/.dzen/icons/layout-gimp.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define layout_gimp_width 18 -#define layout_gimp_height 18 -static unsigned char layout_gimp_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x7c, 0xfd, 0x01, 0x00, 0x00, 0x00, 0x7c, 0xfd, 0x01, 0x44, 0x25, 0x01, - 0x44, 0x25, 0x01, 0x44, 0x25, 0x01, 0x7c, 0x01, 0x00, 0x40, 0xfd, 0x01, - 0x7c, 0x05, 0x01, 0x00, 0x04, 0x01, 0xfc, 0xff, 0x01, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-im-full.xbm b/.dzen/icons/layout-im-full.xbm deleted file mode 100644 index ba75847..0000000 --- a/.dzen/icons/layout-im-full.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define layout_im_full_width 18 -#define layout_im_full_height 18 -static unsigned char layout_im_full_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xfc, 0xff, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, - 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, - 0x44, 0x80, 0x00, 0xfc, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-im-mirror.xbm b/.dzen/icons/layout-im-mirror.xbm deleted file mode 100644 index 6cb3ed1..0000000 --- a/.dzen/icons/layout-im-mirror.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define layout_im_mirror_width 18 -#define layout_im_mirror_height 18 -static unsigned char layout_im_mirror_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xfc, 0xff, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, - 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0xc4, 0xff, 0x00, 0x44, 0x80, 0x00, - 0x44, 0x80, 0x00, 0xfc, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-im-tall.xbm b/.dzen/icons/layout-im-tall.xbm deleted file mode 100644 index 704f503..0000000 --- a/.dzen/icons/layout-im-tall.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define layout_im_tall_width 18 -#define layout_im_tall_height 18 -static unsigned char layout_im_tall_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xfc, 0xff, 0x00, 0x44, 0x90, 0x00, 0x44, 0x90, 0x00, 0x44, 0x90, 0x00, - 0x44, 0x90, 0x00, 0x44, 0x90, 0x00, 0x44, 0x90, 0x00, 0x44, 0x90, 0x00, - 0x44, 0x90, 0x00, 0xfc, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-im.xbm b/.dzen/icons/layout-im.xbm deleted file mode 100644 index e5e296a..0000000 --- a/.dzen/icons/layout-im.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define layout_im_grid_width 18 -#define layout_im_grid_height 18 -static unsigned char layout_im_grid_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xfc, 0xff, 0x00, 0x04, 0x80, 0x00, 0xa4, 0xbf, 0x00, 0x84, 0xa4, 0x00, - 0xa4, 0xa4, 0x00, 0xa4, 0xa4, 0x00, 0xa4, 0xa4, 0x00, 0xa4, 0xa4, 0x00, - 0x04, 0x80, 0x00, 0xfc, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-mirror-black.xbm b/.dzen/icons/layout-mirror-black.xbm deleted file mode 100644 index 246fd37..0000000 --- a/.dzen/icons/layout-mirror-black.xbm +++ /dev/null @@ -1,5 +0,0 @@ -#define mtall_width 12 -#define mtall_height 12 -static unsigned char mtall_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0xfc, 0x03, 0xfc, 0x03, 0xfc, 0x03, - 0xfc, 0x03, 0x00, 0x00, 0x6c, 0x03, 0x6c, 0x03, 0x6c, 0x03, 0x00, 0x00}; diff --git a/.dzen/icons/layout-mirror-bottom.xbm b/.dzen/icons/layout-mirror-bottom.xbm deleted file mode 100644 index e1d8679..0000000 --- a/.dzen/icons/layout-mirror-bottom.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define tilebottom_width 18 -#define tilebottom_height 18 -static unsigned char tilebottom_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFC, 0xFF, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, - 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, 0xFC, 0xFF, 0x00, 0x44, 0x88, 0x00, - 0x44, 0x88, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-mirror-top.xbm b/.dzen/icons/layout-mirror-top.xbm deleted file mode 100644 index 10e8ca2..0000000 --- a/.dzen/icons/layout-mirror-top.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define tiletop_width 18 -#define tiletop_height 18 -static unsigned char tiletop_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFC, 0xFF, 0x00, 0x44, 0x88, 0x00, 0x44, 0x88, 0x00, 0xFC, 0xFF, 0x00, - 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, 0x04, 0x80, 0x00, - 0x04, 0x80, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-tall-black.xbm b/.dzen/icons/layout-tall-black.xbm deleted file mode 100644 index 1a67757..0000000 --- a/.dzen/icons/layout-tall-black.xbm +++ /dev/null @@ -1,5 +0,0 @@ -#define tall_width 12 -#define tall_height 12 -static unsigned char tall_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x7e, 0x07, 0x7e, 0x07, 0x7e, 0x00, 0x7e, 0x07, - 0x7e, 0x07, 0x7e, 0x00, 0x7e, 0x07, 0x7e, 0x07, 0x00, 0x00, 0x00, 0x00}; diff --git a/.dzen/icons/layout-tall-left.xbm b/.dzen/icons/layout-tall-left.xbm deleted file mode 100644 index 91e9b75..0000000 --- a/.dzen/icons/layout-tall-left.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define tileleft_width 18 -#define tileleft_height 18 -static unsigned char tileleft_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFC, 0xFF, 0x00, 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0x7C, 0x80, 0x00, - 0x44, 0x80, 0x00, 0x44, 0x80, 0x00, 0x7C, 0x80, 0x00, 0x44, 0x80, 0x00, - 0x44, 0x80, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-tall-right.xbm b/.dzen/icons/layout-tall-right.xbm deleted file mode 100644 index f3c44ba..0000000 --- a/.dzen/icons/layout-tall-right.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define tileright_width 18 -#define tileright_height 18 -static unsigned char tileright_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFC, 0xFF, 0x00, 0x04, 0x88, 0x00, 0x04, 0x88, 0x00, 0x04, 0xF8, 0x00, - 0x04, 0x88, 0x00, 0x04, 0x88, 0x00, 0x04, 0xF8, 0x00, 0x04, 0x88, 0x00, - 0x04, 0x88, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/layout-threecol.xbm b/.dzen/icons/layout-threecol.xbm deleted file mode 100644 index 3009ecc..0000000 --- a/.dzen/icons/layout-threecol.xbm +++ /dev/null @@ -1,8 +0,0 @@ -#define threecol_width 18 -#define threecol_height 18 -static unsigned char threecol_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFC, 0xFF, 0x00, 0x44, 0x88, 0x00, 0x44, 0x88, 0x00, 0x44, 0x88, 0x00, - 0x44, 0x88, 0x00, 0x44, 0x88, 0x00, 0x44, 0x88, 0x00, 0x44, 0x88, 0x00, - 0x44, 0x88, 0x00, 0xFC, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/load.xbm b/.dzen/icons/load.xbm deleted file mode 100644 index b9a1061..0000000 --- a/.dzen/icons/load.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define load_width 16 -#define load_height 16 -static unsigned char load_bits[] = { - 0x00, 0x00, 0xfe, 0x7f, 0x02, 0x40, 0x02, 0x40, 0x02, 0x40, 0x02, 0x40, - 0x02, 0x44, 0x02, 0x4a, 0x02, 0x71, 0x8e, 0x40, 0x52, 0x40, 0x22, 0x40, - 0x02, 0x40, 0x02, 0x40, 0xfe, 0x7f, 0x00, 0x00 }; diff --git a/.dzen/icons/mail.xbm b/.dzen/icons/mail.xbm deleted file mode 100644 index 295eb73..0000000 --- a/.dzen/icons/mail.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define mail_width 8 -#define mail_height 8 -static unsigned char mail_bits[] = { - 0x00, 0xFF, 0x7E, 0xBD, 0xDB, 0xE7, 0xFF, 0x00 }; diff --git a/.dzen/icons/mem.xbm b/.dzen/icons/mem.xbm deleted file mode 100644 index 5c5bc8e..0000000 --- a/.dzen/icons/mem.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define load_mem_width 16 -#define load_mem_height 16 -static unsigned char load_mem_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x12, 0x48, 0x12, 0xfc, 0x3f, - 0xfc, 0x3f, 0xfc, 0x3f, 0xfc, 0x3f, 0xfc, 0x3f, 0xfc, 0x3f, 0x48, 0x12, - 0x48, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/mpd.xbm b/.dzen/icons/mpd.xbm deleted file mode 100644 index 8211667..0000000 --- a/.dzen/icons/mpd.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define mpd_width 16 -#define mpd_height 16 -static unsigned char mpd_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, 0x40, 0x10, - 0x40, 0x10, 0x40, 0x10, 0x40, 0x10, 0x40, 0x10, 0x70, 0x1c, 0x78, 0x1e, - 0x30, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/net-wifi.xbm b/.dzen/icons/net-wifi.xbm deleted file mode 100644 index 0b3a4a1..0000000 --- a/.dzen/icons/net-wifi.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define net_wifi4_width 16 -#define net_wifi4_height 16 -static unsigned char net_wifi4_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0xf0, 0x0f, 0x08, 0x10, 0xe4, 0x27, 0x10, 0x08, - 0xc0, 0x03, 0x20, 0x04, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, - 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x01, 0x00, 0x00 }; diff --git a/.dzen/icons/net-wifi3.xbm b/.dzen/icons/net-wifi3.xbm deleted file mode 100644 index 7ebb55d..0000000 --- a/.dzen/icons/net-wifi3.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define wireless3_full_width 16 -#define wireless3_full_height 16 -static unsigned char wireless3_full_bits[] = { - 0x00, 0x00, 0xf0, 0x0f, 0x08, 0x10, 0xe4, 0x27, 0x10, 0x08, 0x00, 0x00, - 0xc0, 0x03, 0xc0, 0x03, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, - 0xf0, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/net-wifi4.xbm b/.dzen/icons/net-wifi4.xbm deleted file mode 100644 index 8179eb4..0000000 --- a/.dzen/icons/net-wifi4.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define net_wifi4_width 16 -#define net_wifi4_height 16 -static unsigned char net_wifi4_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x7f, 0xfe, 0x7f, 0x00, 0x00, - 0xfc, 0x3f, 0xfc, 0x3f, 0x00, 0x00, 0xf8, 0x1f, 0xf8, 0x1f, 0x00, 0x00, - 0xe0, 0x07, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/net-wifi5.xbm b/.dzen/icons/net-wifi5.xbm deleted file mode 100644 index 8a097ef..0000000 --- a/.dzen/icons/net-wifi5.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define wireless_full_width 16 -#define wireless_full_height 16 -static unsigned char wireless_full_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0xfe, 0x7f, 0x00, 0x00, - 0xfc, 0x3f, 0xf8, 0x1f, 0x00, 0x00, 0xf0, 0x0f, 0xe0, 0x07, 0x00, 0x00, - 0xc0, 0x03, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/net-wired.xbm b/.dzen/icons/net-wired.xbm deleted file mode 100644 index d9655d7..0000000 --- a/.dzen/icons/net-wired.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define network_eth2_width 16 -#define network_eth2_height 16 -static unsigned char network_eth2_bits[] = { - 0x00, 0x00, 0xfe, 0x7f, 0x02, 0x40, 0x02, 0x40, 0xc2, 0x43, 0xc2, 0x43, - 0xc2, 0x43, 0xf2, 0x4f, 0xf2, 0x4f, 0xf2, 0x4f, 0xf2, 0x4f, 0xf2, 0x4f, - 0x02, 0x40, 0x02, 0x40, 0xfe, 0x7f, 0x00, 0x00 }; diff --git a/.dzen/icons/net-wired2.xbm b/.dzen/icons/net-wired2.xbm deleted file mode 100644 index fb7276a..0000000 --- a/.dzen/icons/net-wired2.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define network_eth1_width 16 -#define network_eth1_height 16 -static unsigned char network_eth1_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x01, 0x60, 0x03, 0x70, 0x07, - 0x78, 0x0f, 0x7f, 0x7f, 0x7f, 0x7f, 0x78, 0x0f, 0x70, 0x07, 0x60, 0x03, - 0x40, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/next.xbm b/.dzen/icons/next.xbm deleted file mode 100644 index 3937532..0000000 --- a/.dzen/icons/next.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define next_width 8 -#define next_height 8 -static unsigned char next_bits[] = { - 0x00, 0x42, 0x4E, 0x7E, 0x7E, 0x4E, 0x42, 0x00 }; diff --git a/.dzen/icons/pause.xbm b/.dzen/icons/pause.xbm deleted file mode 100644 index 6bb2251..0000000 --- a/.dzen/icons/pause.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define pause_width 8 -#define pause_height 8 -static unsigned char pause_bits[] = { - 0x00, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x00 }; diff --git a/.dzen/icons/phones.xbm b/.dzen/icons/phones.xbm deleted file mode 100644 index cab8c58..0000000 --- a/.dzen/icons/phones.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define phones_width 8 -#define phones_height 8 -static unsigned char phones_bits[] = { - 0x3C, 0x42, 0x81, 0x81, 0xA5, 0xE7, 0xE7, 0x66 }; diff --git a/.dzen/icons/play.xbm b/.dzen/icons/play.xbm deleted file mode 100644 index d42ad52..0000000 --- a/.dzen/icons/play.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define play_width 8 -#define play_height 8 -static unsigned char play_bits[] = { - 0x00, 0x06, 0x1E, 0x7E, 0x7E, 0x1E, 0x06, 0x00 }; diff --git a/.dzen/icons/plus.xbm b/.dzen/icons/plus.xbm deleted file mode 100644 index f8e5f8a..0000000 --- a/.dzen/icons/plus.xbm +++ /dev/null @@ -1,5 +0,0 @@ -#define occupied_width 8 -#define occupied_height 16 -static unsigned char occupied_bits[] = { - 0x00, 0x00, 0x08, 0x08, 0x3e, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/power-ac.xbm b/.dzen/icons/power-ac.xbm deleted file mode 100644 index 45ed243..0000000 --- a/.dzen/icons/power-ac.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define power_ac_width 16 -#define power_ac_height 16 -static unsigned char power_ac_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x07, 0xc0, 0x3f, - 0xe0, 0x07, 0xfc, 0x07, 0xfc, 0x07, 0xe0, 0x07, 0xc0, 0x3f, 0x80, 0x07, - 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/power-bat.xbm b/.dzen/icons/power-bat.xbm deleted file mode 100644 index c450bbc..0000000 --- a/.dzen/icons/power-bat.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define battery_width 16 -#define battery_height 16 -static unsigned char battery_bits[] = { - 0x00, 0x00, 0xc0, 0x03, 0xc0, 0x03, 0xf0, 0x0f, 0xf0, 0x0f, 0x10, 0x08, - 0x10, 0x08, 0x10, 0x08, 0x10, 0x08, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, - 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0x00, 0x00 }; diff --git a/.dzen/icons/power-bat2.xbm b/.dzen/icons/power-bat2.xbm deleted file mode 100644 index e7be632..0000000 --- a/.dzen/icons/power-bat2.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define power_bat2_width 16 -#define power_bat2_height 16 -static unsigned char power_bat2_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x1f, 0x7e, 0x18, - 0x7e, 0x78, 0x7e, 0x78, 0x7e, 0x78, 0x7e, 0x78, 0x7e, 0x18, 0xfe, 0x1f, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/prev.xbm b/.dzen/icons/prev.xbm deleted file mode 100644 index 8774315..0000000 --- a/.dzen/icons/prev.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define prev_width 8 -#define prev_height 8 -static unsigned char prev_bits[] = { - 0x00, 0x42, 0x72, 0x7E, 0x7E, 0x72, 0x42, 0x00 }; diff --git a/.dzen/icons/rwd.xbm b/.dzen/icons/rwd.xbm deleted file mode 100644 index 5170b21..0000000 --- a/.dzen/icons/rwd.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define rwd_width 8 -#define rwd_height 8 -static unsigned char rwd_bits[] = { - 0x00, 0x48, 0x6C, 0x7E, 0x7E, 0x6C, 0x48, 0x00 }; diff --git a/.dzen/icons/spkr_hi.xbm b/.dzen/icons/spkr_hi.xbm deleted file mode 100644 index 7c2ffc4..0000000 --- a/.dzen/icons/spkr_hi.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define spkr_01_width 8 -#define spkr_01_height 8 -static unsigned char spkr_01_bits[] = { - 0x08, 0x4C, 0x8F, 0xAF, 0xAF, 0x8F, 0x4C, 0x08 }; diff --git a/.dzen/icons/spkr_mute.xbm b/.dzen/icons/spkr_mute.xbm deleted file mode 100644 index 8265bf8..0000000 --- a/.dzen/icons/spkr_mute.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define spkr_02_width 8 -#define spkr_02_height 8 -static unsigned char spkr_02_bits[] = { - 0x08, 0x0C, 0x0F, 0x1F, 0x1F, 0x0F, 0x0C, 0x08 }; diff --git a/.dzen/icons/square.xbm b/.dzen/icons/square.xbm deleted file mode 100644 index 4bc66cd..0000000 --- a/.dzen/icons/square.xbm +++ /dev/null @@ -1,5 +0,0 @@ -#define square_width 8 -#define square_height 16 -static unsigned char square_bits[] = { - 0x00, 0x00, 0x1e, 0x1e, 0x1e, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/stop.xbm b/.dzen/icons/stop.xbm deleted file mode 100644 index f92b64d..0000000 --- a/.dzen/icons/stop.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define stop_width 8 -#define stop_height 8 -static unsigned char stop_bits[] = { - 0x00, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x00 }; diff --git a/.dzen/icons/temp.xbm b/.dzen/icons/temp.xbm deleted file mode 100644 index f37932b..0000000 --- a/.dzen/icons/temp.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define temp_width 16 -#define temp_height 16 -static unsigned char temp_bits[] = { - 0x00, 0x00, 0x80, 0x01, 0xc0, 0x0b, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x0b, - 0x40, 0x02, 0x40, 0x02, 0x40, 0x0a, 0x40, 0x02, 0x40, 0x02, 0x60, 0x06, - 0x20, 0x04, 0x60, 0x06, 0xc0, 0x03, 0x00, 0x00 }; diff --git a/.dzen/icons/up.xbm b/.dzen/icons/up.xbm deleted file mode 100644 index 2fb6f25..0000000 --- a/.dzen/icons/up.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define up_width 16 -#define up_height 16 -static unsigned char up_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x80, 0x00, 0xc0, 0x01, 0xe0, 0x03, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/vol-hi.xbm b/.dzen/icons/vol-hi.xbm deleted file mode 100644 index 7c4a849..0000000 --- a/.dzen/icons/vol-hi.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define vol_hi2_width 16 -#define vol_hi2_height 16 -static unsigned char vol_hi2_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x80, 0x21, 0xc0, 0x49, 0xfc, 0x51, - 0xfc, 0x55, 0xfc, 0x55, 0xfc, 0x55, 0xfc, 0x55, 0xfc, 0x51, 0xc0, 0x49, - 0x80, 0x21, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/vol-mute.xbm b/.dzen/icons/vol-mute.xbm deleted file mode 100644 index 2d01f7b..0000000 --- a/.dzen/icons/vol-mute.xbm +++ /dev/null @@ -1,6 +0,0 @@ -#define vol_mute2_width 16 -#define vol_mute2_height 16 -static unsigned char vol_mute2_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x01, 0xc0, 0x01, 0xfc, 0x01, - 0xfc, 0x01, 0xfc, 0x29, 0xfc, 0x11, 0xfc, 0x29, 0xfc, 0x01, 0xc0, 0x01, - 0x80, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 }; diff --git a/.dzen/icons/wifi_01.xbm b/.dzen/icons/wifi_01.xbm deleted file mode 100644 index 315d0f7..0000000 --- a/.dzen/icons/wifi_01.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define wifi_01_width 8 -#define wifi_01_height 8 -static unsigned char wifi_01_bits[] = { - 0x80, 0xA0, 0xA8, 0xAB, 0xAB, 0xA8, 0xA0, 0x80 }; diff --git a/.dzen/icons/wifi_02.xbm b/.dzen/icons/wifi_02.xbm deleted file mode 100644 index bd2b3ee..0000000 --- a/.dzen/icons/wifi_02.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define wifi_02_width 8 -#define wifi_02_height 8 -static unsigned char wifi_02_bits[] = { - 0x40, 0x90, 0xA4, 0xA9, 0xA9, 0xA4, 0x90, 0x40 }; diff --git a/.dzen/temperature.sh b/.dzen/temperature.sh deleted file mode 100755 index 4badbc5..0000000 --- a/.dzen/temperature.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# original script by lyon8 <lyon8@gmx.net> -# modifications from original by <sean.escriva@gmail.com> -# show your laptop battery state in dzen -# Taken from http://www.webframp.com/2008/08/17/switchdzen/ and modified by Ryan -# Kavanagh <ryanakca@kubuntu.org> to add support for a missing battery and use -# /sys instead of /proc/acpi/battery - -BG='#171717' # dzen backgrounad -FG='#11DD11' # dzen foreground -W=130 # width of the dzen bar -GW=50 # width of the gauge -GFG='#33ccff' # color of the gauge -GH=7 # height of the gauge -GBG='#333' # color of gauge background -X=922 # x position -Y=0 # y position -FN='snap' # font -TIME_INT=10 - -TEMPERATURE=`acpi -t` - -while true; do - echo $TEMPERATURE | sed -e 's/.*ok, //g' && sleep $TIME_INT -done | dzen2 -ta c -tw $W -y $Y -x $X -fg $FG -bg $BG #-fn $FN |