From 6d76029e87f70b10e3a3d82ccdc374d6f39506af Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Mon, 25 May 2009 00:18:38 +0200 Subject: Several changes while playing around with wmii and xmonad --- mutt/settings | 2 ++ wmii-3.5/wmiirc | 5 +++-- xdefaults | 4 ++-- xinitrc | 8 ++++---- xmonad-0.7.hs | 2 +- xmonad-0.8.hs | 10 ++++------ 6 files changed, 16 insertions(+), 15 deletions(-) diff --git a/mutt/settings b/mutt/settings index 4ca1942..58aeb09 100644 --- a/mutt/settings +++ b/mutt/settings @@ -4,3 +4,5 @@ set timeout=2 set beep_new=yes set edit_headers set pager_index_lines=6 + +macro index ,r "T~N | ~O\nN^T~A\n" "mark all read" diff --git a/wmii-3.5/wmiirc b/wmii-3.5/wmiirc index 725f9d7..7bbcb86 100755 --- a/wmii-3.5/wmiirc +++ b/wmii-3.5/wmiirc @@ -9,8 +9,9 @@ LEFT=n RIGHT=t # Colors tuples: " " -WMII_NORMCOLORS='#888888 #222222 #333333' -WMII_FOCUSCOLORS='#ffffff #285577 #4c7899' +WMII_FOCUSCOLORS='#66FF00 #101010 #66FF00' +WMII_NORMCOLORS='#EEEEEE #000000 #111111' + #WMII_BACKGROUND='#333333' WMII_FONT='fixed' diff --git a/xdefaults b/xdefaults index 5f5ac2b..02b2a69 100644 --- a/xdefaults +++ b/xdefaults @@ -1,5 +1,5 @@ -#URxvt*font: xft:terminus:pixelsize=8 -URxvt*font:xft:Bitstream Vera Sans Mono:pixelsize=11 +URxvt*font: xft:terminus:pixelsize=8 +#URxvt*font:xft:Bitstream Vera Sans Mono:pixelsize=11 URxvt*buffered: true URxvt*internalBorder: 2 diff --git a/xinitrc b/xinitrc index 0a15642..918bdfc 100755 --- a/xinitrc +++ b/xinitrc @@ -1,5 +1,5 @@ #!/bin/bash -WM='wmii' +WM='awesome' # SSH KEYAGENT keychain --clear -q ~/.ssh/id_rsa @@ -9,9 +9,9 @@ source ~/.keychain/`hostname`-sh > /dev/null xsetbg -onroot -border black ~/pictures/wallpaper/$(ls ~/pictures/wallpaper/ | sed -n $((RANDOM%$(ls ~/pictures/wallpaper/ | wc -l)+1))p) xscreensaver -no-splash & -#wicd-client & -#killall awesome_bar.sh -#etc/awesome_bar.sh & +wicd-client & +killall awesome_bar.sh +etc/awesome_bar.sh & # LET'S GO exec $WM diff --git a/xmonad-0.7.hs b/xmonad-0.7.hs index cb0b9c3..4a8443a 100644 --- a/xmonad-0.7.hs +++ b/xmonad-0.7.hs @@ -48,7 +48,7 @@ myLayout = tiled ||| Mirror tiled ||| Full where tiled = Tall nmaster delta ratio nmaster = 1 - ratio = 1/2 + ratio = 55/100 delta = 1/100 myManageHook = composeAll diff --git a/xmonad-0.8.hs b/xmonad-0.8.hs index 09246b3..0ea6d0b 100644 --- a/xmonad-0.8.hs +++ b/xmonad-0.8.hs @@ -12,6 +12,7 @@ myNumlockMask = mod2Mask myWorkspaces = ["1","2","3","4","5","6","7","8","9"] myNormalBorderColor = "#dddddd" myFocusedBorderColor = "#ff0000" +myDefaultGaps = [(0,0,0,0)] myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ [ ((modMask, xK_Return), spawn $ XMonad.terminal conf) @@ -25,11 +26,9 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ , ((modMask, xK_m ), windows W.focusMaster ) , ((modMask .|. shiftMask, xK_r ), windows W.swapDown ) , ((modMask .|. shiftMask, xK_g ), windows W.swapUp ) - , ((modMask, xK_n ), sendMessage Shrink) - , ((modMask, xK_t ), sendMessage Expand) , ((modMask, xK_h ), withFocused $ windows . W.sink) - , ((modMask , xK_comma ), sendMessage (IncMasterN 1)) - , ((modMask , xK_period), sendMessage (IncMasterN (-1))) + , ((modMask , xK_h ), sendMessage (IncMasterN 1)) + , ((modMask , xK_f ), sendMessage (IncMasterN (-1))) ] ++ @@ -66,10 +65,9 @@ defaults = defaultConfig { workspaces = myWorkspaces, normalBorderColor = myNormalBorderColor, focusedBorderColor = myFocusedBorderColor, - + defaultGaps = myDefaultGaps, keys = myKeys, mouseBindings = myMouseBindings, - logHook = myLogHook, startupHook = myStartupHook } -- cgit v1.2.3