Permalink
Browse files

stuff

  • Loading branch information...
1 parent 4da2765 commit 53a6d0ddb55512fd008aa0a4114605b95d67fc4c @degeberg committed Aug 21, 2011
Showing with 12 additions and 4 deletions.
  1. +3 −2 mplayer/config
  2. +9 −2 xmonad/xmonad.hs
View
@@ -5,11 +5,12 @@ ao=pulse
framedrop=1
-cache=100000
+cache=1000000
slang=en,eng,da,dan
sub-fuzziness=1
stop-xscreensaver=1
-alang=en,eng
+lang=en,eng,
+alang=en,eng,
View
@@ -28,7 +28,7 @@ main = do xmproc <- spawnPipe myBar
, layoutHook = myLayout
, terminal = myTerminal
, keys = myKeys
- , workspaces = map show [0 .. 9 :: Int] ++ ["a", "b", "c", "d"]
+ , workspaces = ["web"] ++ map show [1 .. 9 :: Int] ++ ["a", "b", "im", "d"]
, logHook = dynamicLogWithPP $ myPP xmproc
, modMask = mod4Mask -- Rebind Mod to the Windows key
, normalBorderColor = "#555555"
@@ -51,6 +51,7 @@ myManageHook = composeAll
, className =? "Pidgin" --> doShift "d"
, className =? "Skype" --> doShift "d"
, className =? "Keepassx" --> doShift "b"
+ , className =? "Firefox" --> doShift "web"
, title =? "VLC media player" --> doFloat
, title =? "VLC (XVideo output)" --> doFloat] <+> manageScratchPad
@@ -107,9 +108,15 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- switch between current and previous workspace
, ((modMask .|. shiftMask , xK_w ), toggleWS )
-
+ -- scratch pad
, ((0, xK_Meta_R), scratchpadSpawnActionTerminal myTerminal)
+ -- media keys
+ , ((0, xF86XK_AudioPlay), spawn "mpc -q toggle")
+ , ((0, xF86XK_AudioPrev), spawn "mpc -q prev")
+ , ((0, xF86XK_AudioNext), spawn "mpc -q next")
+ , ((0, xF86XK_AudioStop), spawn "mpc -q stop")
+
-- resizing
, ((modMask, xK_h ), sendMessage Shrink)
, ((modMask, xK_l ), sendMessage Expand)

0 comments on commit 53a6d0d

Please sign in to comment.