Added notifications and modified VGA.

This commit is contained in:
Serĉanto de Scio 2018-01-08 06:43:31 +10:00
parent d21f8ce26c
commit 6e0a0205e7
No known key found for this signature in database
GPG key ID: B41FA6FF04CE4B93

View file

@ -8,6 +8,7 @@ import System.IO
main = do main = do
xmproc <- spawnPipe "/usr/bin/xmobar /home/craige/.xmobarrc" xmproc <- spawnPipe "/usr/bin/xmobar /home/craige/.xmobarrc"
spawn "/usr/lib/notification-daemon/notification-daemon"
-- Launch xmobar as my task bar. -- Launch xmobar as my task bar.
xmonad $ desktopConfig xmonad $ desktopConfig
{ focusFollowsMouse = False { focusFollowsMouse = False
@ -56,7 +57,7 @@ main = do
-- Turn on the VGA port and set it as the primary display -- Turn on the VGA port and set it as the primary display
, ((mod4Mask .|. shiftMask, xK_v), spawn , ((mod4Mask .|. shiftMask, xK_v), spawn
" /usr/bin/xrandr --output LVDS-1 --primary --auto --output \ " /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
\ VGA-1 --left-of LVDS-1 --auto" \ VGA-1 --right-of LVDS-1 --auto"
) )
, ((0 , 0x1008FF11), spawn , ((0 , 0x1008FF11), spawn
"amixer set Master 2%-") -- XF86AudioLowerVolume "amixer set Master 2%-") -- XF86AudioLowerVolume