Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

last commit

  • Loading branch information...
commit b2dfdcfc1f5e7c6a1292986db0425bab5c4305ab 1 parent 5f0c5d5
@vikkikanhaua authored
Showing with 15 additions and 7 deletions.
  1. +1 −0  .tmux.conf
  2. +1 −1  .xinitrc
  3. +1 −0  .zsh/aliases
  4. +12 −6 xmonad.hs
View
1  .tmux.conf
@@ -82,6 +82,7 @@ setw -g window-status-current-fg white
new -s main -n torrents/fm 'rtorrent'
splitw -p 50 'ranger'
+splitw -t 1.0 -p 48 -h
selectp -t 1.0
# }}}
View
2  .xinitrc
@@ -24,4 +24,4 @@ setxkbmap -option terminate:ctrl_alt_bksp
dzonky
-exec xmonad
+exec ck-launch-session xmonad
View
1  .zsh/aliases
@@ -32,6 +32,7 @@ alias feeds='newsbeuter'
#package mgmt
alias install='sudo powerpill -S'
alias uninstall='sudo pacman -Rsn'
+alias search='packer -Ss'
alias pacls='pacman -Ql'
alias aur='packer --auronly -S'
alias update='yaourt -Syu'
View
18 xmonad.hs
@@ -164,6 +164,7 @@ keys' conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, ((modMask .|. controlMask, xK_b ), spawn "favsong -b")
, ((modMask, xK_f ), spawn "favsong")
, ((modMask, xK_e ), spawn "eject -T")
+ , ((modMask, xK_u ), spawn "devmon -c; notify DEVICE SAFE TO REMOVE")
, ((modMask, xK_x ), spawn "xterm")
, ((modMask .|. shiftMask, xK_c ), kill)
@@ -213,19 +214,24 @@ keys' conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
statusBarCmd = "dzen2 -bg '#1a1a1a' -fg '#f1f1f1' -w 650 -h 20 -e '' -fn " ++ myFont ++ " -ta l"
+startup :: X ()
+startup = do
+ spawn "devmon -g --exec-on-drive \"notify %f mounted on %d\" --exec-on-disc \"notify DISC mounted on %d\""
+
main = do
bar <- spawnPipe statusBarCmd
xmonad $ withUrgencyHook NoUrgencyHook
$ defaultConfig
- { manageHook = myManageHook
- , workspaces = ["main","web","term","media","else"]
- , layoutHook = myLayout
- , logHook = dynamicLogWithPP $ myPP bar
- , modMask = mod4Mask
+ { manageHook = myManageHook
+ , workspaces = ["main","web","term","media","else"]
+ , layoutHook = myLayout
+ , logHook = dynamicLogWithPP $ myPP bar
+ , startupHook = startup
+ , modMask = mod4Mask
, normalBorderColor = myNormalBorderColor
, focusedBorderColor = myFocusedBorderColor
, terminal = myTerminal
, focusFollowsMouse = myFocusFollowsMouse
- , keys = keys'
+ , keys = keys'
}
-- END
Please sign in to comment.
Something went wrong with that request. Please try again.