Make trayer height align with xmobar; make ctrl+alt+l lock system

master
Lars Vierbergen 8 years ago
parent b3fcc5c1ab
commit 115b0d3b9c
  1. 2
      xmonad-session-rc
  2. 1
      xmonad.hs

@ -7,7 +7,7 @@ $(syndaemon -d -K -i 0.5s && synclient HorizTwoFingerScroll=1 && synclient TapBu
eval $(ssh-agent)
# Tray applets
trayer --edge bottom --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x000000 --alpha 0 --height 16 --monitor primary&
trayer --edge bottom --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x000000 --alpha 0 --height 17 --monitor primary&
xscreensaver -no-splash&
nm-applet --sm-disable&
~/.xmonad/action-manager/start.sh ~/.xmonad/actiondisplay ~/.xmonad/actioncontrol --state-file ~/.xmonad/actionstate --volume-enabled --redshift-enabled --redshift-location 51:5 --redshift-temperature 6000:2000 --caffeine-enabled&

@ -84,6 +84,7 @@ main = do
}
`additionalKeys`
[ ((modMask baseConfig .|. controlMask, xK_l), spawn "xscreensaver-command -lock")
, ((mod1Mask .|. controlMask, xK_l), spawn "xscreensaver-command -lock")
, ((modMask baseConfig .|. controlMask, xK_s), spawn "systemctl hibernate")
-- , ((modMask baseConfig, xK_r), spawn "~/.xmonad/action-manager/command.sh redshift ~/.xmonad/actioncontrol")
-- , ((modMask baseConfig, xK_e), spawn "caja")

Loading…
Cancel
Save