Corrected string breaks

This commit is contained in:
Serĉanto de Scio 2017-03-30 14:41:28 +10:00
parent 3297bebb28
commit 24d1353f71
No known key found for this signature in database
GPG key ID: B41FA6FF04CE4B93

View file

@ -25,9 +25,9 @@ main = do
} `additionalKeys` } `additionalKeys`
-- Custom dmenu launcher -- Custom dmenu launcher
[ ((mod4Mask, xK_p ), spawn [ ((mod4Mask, xK_p ), spawn
"exe=`dmenu_path | dmenu -fn \"Open Sans-10\" -p \"λ:\" -nb " exe=`dmenu_path | dmenu -fn \"Open Sans-10\" -p \"λ:\" \
\"#073642\" -nf \"#93a1a1\" -sb \"#002b36\" -sf \"#859900\"` && \ -nb \"#073642\" -nf \"#93a1a1\" -sb \"#002b36\" -sf \
eval \"exec $exe\"" \ \"#859900\"` && eval \"exec $exe\""
) )
-- Lock the screen -- Lock the screen
, ((0, 0x1008ff2d), spawn "xscreensaver-command -lock") , ((0, 0x1008ff2d), spawn "xscreensaver-command -lock")
@ -38,8 +38,8 @@ main = do
, ((mod4Mask, xK_d), spawn "/usr/bin/xrandr --output DP-1 --off") , ((mod4Mask, xK_d), spawn "/usr/bin/xrandr --output DP-1 --off")
-- Turn on the display port and set it as the primary display -- Turn on the display port and set it as the primary display
, ((mod4Mask .|. shiftMask, xK_d), spawn , ((mod4Mask .|. shiftMask, xK_d), spawn
"/usr/bin/xrandr --output LVDS-1 --primary --auto --output DP-1 " /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
--left-of LVDS-1 --auto" \ DP-1 --left-of LVDS-1 --auto"
) )
-- Turn off the HDMI port -- Turn off the HDMI port
, ((mod4Mask .|. controlMask, xK_h), spawn , ((mod4Mask .|. controlMask, xK_h), spawn
@ -47,15 +47,15 @@ main = do
) )
-- Turn on the HDMI port and set it as the primary display -- Turn on the HDMI port and set it as the primary display
, ((mod4Mask .|. shiftMask, xK_h), spawn , ((mod4Mask .|. shiftMask, xK_h), spawn
"/usr/bin/xrandr --output LVDS-1 --primary --auto --output " /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
HDMI-1 --left-of LVDS-1 --auto" \ HDMI-1 --left-of LVDS-1 --auto"
) )
-- Turn off the VGA port -- Turn off the VGA port
, ((mod4Mask, xK_v), spawn "/usr/bin/xrandr --output VGA-1 --off") , ((mod4Mask, xK_v), spawn "/usr/bin/xrandr --output VGA-1 --off")
-- 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 VGA-1 " /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
--left-of LVDS-1 --auto" \ VGA-1 --left-of LVDS-1 --auto"
) )
, ((0 , 0x1008FF11), spawn , ((0 , 0x1008FF11), spawn
"amixer set Master 2%-") -- XF86AudioLowerVolume "amixer set Master 2%-") -- XF86AudioLowerVolume