Skip to main content

Posts

Showing posts from August, 2010

My minimalistic xinitrc, xmonad.hs and xmobarrc

put this in ~/.xinitrc

ck-launch-session
# start trayer to contain apps like nm-applet trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 5 --transparent true --tint 0x191970 --height 12 &
kmix &
# some cool effects xcompmgr -c -f -F &
# Set the background color hsetroot -tile /home/sven/Wallpapers/abstract-bluelights-1280x800-.jpg
xset b 100 0 0 xset r rate 190 90 dbus-launch --exit-with-session xmonad

put this in ~/.xmonad/xmonad.hs
import XMonad
importqualified XMonad.StackSet as W
import XMonad.ManageHook
import XMonad.Hooks.ManageHelpers
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.FadeInactive()
import XMonad.Hooks.SetWMName(setWMName)
import XMonad.Layout.NoBorders(smartBorders)
import XMonad.Layout.Tabbed(tabbed, shrinkText, defaultTheme)
import XMonad.Layout.LayoutHints(layoutHints)
import XMonad.Layout.LayoutModifier
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
impo…