Skip to content
Browse files

Good bye GNOME: thanks for trying to turn my desktop into an iPad

  • Loading branch information...
1 parent 1dadfe8 commit f44a29cf3978dcc8db3f111417cee99fbbed710d @afeinberg committed Oct 26, 2011
Showing with 17 additions and 9 deletions.
  1. +10 −0 dot.xinitrc
  2. +7 −9 dot.xmonad/xmonad.hs
View
10 dot.xinitrc
@@ -0,0 +1,10 @@
+xsetroot -cursor_name left_ptr
+xset s off
+xscreensaver -no-splash &
+unclutter -idle 1 &
+tint2 -c ~/.xmonad/tint2rc &
+nvidia-settings -l
+eval `ssh-agent -s`
+setxkbmap -option ctrl:nocaps
+#gnome-session --session=xmonad
+/usr/local/bin/xmonad
View
16 dot.xmonad/xmonad.hs
@@ -29,15 +29,15 @@ main = do
startupHook = startupHook conf >> takeTopFocus >> setWMName "LG3D"
}
-conf = withUrgencyHook NoUrgencyHook $ ewmh gnomeConfig
+conf = withUrgencyHook NoUrgencyHook $ ewmh defaultConfig
{ terminal = "terminator"
, modMask = mod4Mask
, focusedBorderColor = "gray80"
, normalBorderColor = "gray20"
-- Shouldn't need gaps, but xmonad or tint2 are not respecting struts
- --, layoutHook = avoidStruts . smartBorders . gaps [(U,25)] $ layoutHook defaultConfig
- , layoutHook = avoidStruts . smartBorders $ layoutHook gnomeConfig
- , manageHook = manageHook gnomeConfig <+> manageDocks
+ , layoutHook = avoidStruts . smartBorders . gaps [(U,25)] $ layoutHook defaultConfig
+ --, layoutHook = avoidStruts . smartBorders $ layoutHook gnomeConfig
+ , manageHook = manageHook defaultConfig <+> manageDocks
}
`removeKeysP` keysToRemove
`additionalKeysP` keysToAdd
@@ -50,18 +50,18 @@ conf = withUrgencyHook NoUrgencyHook $ ewmh gnomeConfig
keysToAdd =
[ ("M-<Space>", spawn dmenuCmd)
, ("M-\\", sendMessage NextLayout)
- , ("M-s", scratchpadSpawnActionTerminal "terminator")
+ , ("M-s", scratchpadSpawnActionTerminal "urxvt")
, ("M-f", runOrRaise "google-chrome" (className =? "Google-chrome"))
, ("M-e", runOrRaise "emacs" (className =? "Emacs"))
- , ("M-C-l", spawn "gnome-screensaver-command -lock")
+ , ("M-C-l", spawn "xscreensaver-command -lock")
, ("<XF86AudioMute>", spawn "amixer -q set Master toggle")
, ("<XF86AudioLowerVolume>", spawn "amixer -q set Master 2dB- unmute")
, ("<XF86AudioRaiseVolume>", spawn "amixer -q set Master 2dB+ unmute")
, ("<XF86AudioStop>", spawn "mpc stop")
, ("<XF86AudioPlay>", spawn "mpc toggle")
, ("<XF86AudioPrev>", spawn "mpc prev")
, ("<XF86AudioNext>", spawn "mpc next")
- , ("<XF86ScreenSaver>", spawn "xscreensaver-command -l")
+ , ("<XF86ScreenSaver>", spawn "xscreensaver-command -lock")
]
-- Key bindings to remove from the default configuration
@@ -82,9 +82,7 @@ dmenuCmd = "dmenu_run -fn " ++ quoteStr defaultFont
Fonts
-------------------------------------------------------------------------------}
---defaultFont = terminusFont
defaultFont = terminusFont
---helveticaFont = "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*"
terminusFont = "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*"

0 comments on commit f44a29c

Please sign in to comment.
Something went wrong with that request. Please try again.