| | Stumble It! | Add to Mixx! | | diigo it | | Slashdot |

Thursday, September 17, 2009

Minimalist OCD? EeePC Desktop

My constant challenge to myself is to find elegant ways to pack a ton of information into the tiny, tiny 800 x 480 resolution of my EeePC 701. I think this setup accomplishes that quite nicely.As you can see, it's pretty simple. The icon in the top-middle of the screen is trayer, my system tray replacement as I got rid of the toolbar entirely. Instead, I use Gnome-Do to do application launching and general system management.As for the dashboard and calendar, it's all built on Conky. The configs are below:

Dashboard:
# .conkyrc
own_window yes
own_window_title econky
update_interval 1.0
short_units yes
double_buffer yes
own_window_transparent yes
border_width 0
use_xft yes
minimum_size 400
alignment tm
uppercase no
draw_shades no
pad_percents 0

TEXT
${color #D0D0D0}${font Ger4ronL Cond:size=58}${time %R}${color #3B3B3B}${font Ger4ronL Cond:size=24}
${voffset -75}${alignr}${time %A}
${alignr}${time %e %B}${font Envy Code R:size=8}
${hr}
wlan0 - ${addr wlan0} - ${upspeed wlan0}k / ${downspeed wlan0}k${alignr}${wireless_essid wlan0} ${wireless_link_bar 5, 100 wlan0}
cpu - ${freq}MHz ${cpubar 5, 100}${alignr}ram - ${memmax} ${membar 5, 100}
sda - ${fs_free /} ${fs_bar 5, 100 /}${alignr}bat - ${battery_percent BAT0}% ${battery_bar 5, 100 BAT0}

Calendar:
# .conkyrc
own_window yes
own_window_title econky
update_interval 1.0
short_units yes
double_buffer yes
own_window_transparent yes
border_width 0
use_xft yes
alignment br
uppercase no
draw_shades no
pad_percents 0
text_buffer_size 2560

TEXT
${font Envy Code R:size=8}${execp ~/Documents/scripts/calStrip.sh '#3B3B3B' '#D0D0D0' vertical}
Calendar script:
#!/bin/bash
color='${color '$1'}'
highlight='${color '$2'}'

day=$(date +%d)
month=$(date +%m)
year=$(date +%Y)

maxdays=$((
(
$(date -u -d "${year}-${month}-01 +1 month" +%s)
-
$(date -u -d "${year}-${month}-01" +%s)
)
/
86400
))

i=0
daystring=$color
daynames=$color
vstring=$color

while [ $i -lt $maxdays ]; do
let i=$i+1
d=$(printf "%02d" $i)
dayname=$(date -u -d "${year}-${month}-${d}" +%a)
if [ $3 = "horizontal" ]
then
if [ $d = $day ]
then daystring=$daystring" "$highlight$d$color #'\n'
daynames=$daynames" "$highlight${dayname:0:2}$color
else
daynames=$daynames" "${dayname:0:2}
daystring=$daystring" "$d
fi
else
if [ $d = $day ]
then vstring=$vstring'\n>'$highlight${dayname:0:2}" "$d$color"<"
else
vstring=$vstring'\n '${dayname:0:2}" "$d" "
fi
fi
done

hstring=$daynames'\n'$daystring

if [ $3 = "horizontal" ]
then echo -e $hstring
else
echo -e $vstring
fi


Source Image

0 comments: