L2 Cache

Behold the power of |!

User Tools

Site Tools



This is an old revision of the document!



I revided my netbook, needed something minimal and every pixel counts!



My netbook runs on Arch Linux, I will list the packages I needed. The names can be different on your system.

  • XMonad
  • XMonad Contrib
  • Trayer
  • dzen2
  • conky

If you run arch like me, you can use the following to install them all: sudo pacman -S xmonad xmonad-contrib trayer dzen2 conky

Configuration files

My setup uses a few configuration files, most are located withing ~/.xmonad

path description
~/.xmonad/xmonad.hs main configuration file
~/.xmonad/apps apps to launch on xmonad start
~/.xmonad/.conky_dzen conky configuration for use with dzen
~/.xmonad/dzen2/* pixmap images used in my status bar
/usr/local/bin/xmonad-cdm-wrapper wrapper for xmobad for use with cdm, tigervnc,…


## core x configuration
xsetroot -solid black
xsetroot -cursor_name left_ptr
setxkbmap -layout be

## system tray
wicd-gtk --tray &

## default apps
sleep 3
xchat &
skype &
pidgin &
firefox &


background yes
out_to_console yes
out_to_x no
# Update interval in seconds
update_interval 3

${if_empty ${exec ifconfig wlan0 | grep 'inet '}}^i(/home/sjorge/.xmonad/dzen2/net-wired.xbm)${else}^i(/home/sjorge/.xmonad/dzen2/wifi_01.xbm) ${exec iwconfig wlan0 | grep 'Signal level' | cut -d= -f3 | awk '{print 100+$1 "%"}'} ${exec iwgetid | cut -d\" -f2 | awk '{print  $1}'}${endif} ${if_match ${exec cat /sys/class/power_supply/ADP1/online} == 1}^i(/home/sjorge/.xmonad/dzen2/ac_01.xbm)${else}^i(/home/sjorge/.xmonad/dzen2/bat_full_01.xbm)${endif} ${battery_percent BAT1}% | ^fg(\#B9EE85)${time %a %H:%M}

note: use sed or simular to replace my username sed 's/sjorge/YOURUSER/gi' tempfile > .conky_dzen


## apps
[ -e ~/.xmonad/apps ] && ~/.xmonad/apps &

## xmonad
exec ck-launch-session dbus-launch xmonad



yami ~# mkdir -p ~/.xmonad yami ~# tar xvf dzen2.tar -C ~/.xmonad

configuration/xmonad.1346603010.txt.gz · Last modified: 2014/10/09 22:02 (external edit)