Corrected string breaks
This commit is contained in:
parent
3297bebb28
commit
24d1353f71
|
@ -25,9 +25,9 @@ main = do
|
|||
} `additionalKeys`
|
||||
-- Custom dmenu launcher
|
||||
[ ((mod4Mask, xK_p ), spawn
|
||||
"exe=`dmenu_path | dmenu -fn \"Open Sans-10\" -p \"λ:\" -nb
|
||||
\"#073642\" -nf \"#93a1a1\" -sb \"#002b36\" -sf \"#859900\"` &&
|
||||
eval \"exec $exe\""
|
||||
" exe=`dmenu_path | dmenu -fn \"Open Sans-10\" -p \"λ:\" \
|
||||
\ -nb \"#073642\" -nf \"#93a1a1\" -sb \"#002b36\" -sf \
|
||||
\ \"#859900\"` && eval \"exec $exe\""
|
||||
)
|
||||
-- Lock the screen
|
||||
, ((0, 0x1008ff2d), spawn "xscreensaver-command -lock")
|
||||
|
@ -38,8 +38,8 @@ main = do
|
|||
, ((mod4Mask, xK_d), spawn "/usr/bin/xrandr --output DP-1 --off")
|
||||
-- Turn on the display port and set it as the primary display
|
||||
, ((mod4Mask .|. shiftMask, xK_d), spawn
|
||||
"/usr/bin/xrandr --output LVDS-1 --primary --auto --output DP-1
|
||||
--left-of LVDS-1 --auto"
|
||||
" /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
|
||||
\ DP-1 --left-of LVDS-1 --auto"
|
||||
)
|
||||
-- Turn off the HDMI port
|
||||
, ((mod4Mask .|. controlMask, xK_h), spawn
|
||||
|
@ -47,15 +47,15 @@ main = do
|
|||
)
|
||||
-- Turn on the HDMI port and set it as the primary display
|
||||
, ((mod4Mask .|. shiftMask, xK_h), spawn
|
||||
"/usr/bin/xrandr --output LVDS-1 --primary --auto --output
|
||||
HDMI-1 --left-of LVDS-1 --auto"
|
||||
" /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
|
||||
\ HDMI-1 --left-of LVDS-1 --auto"
|
||||
)
|
||||
-- Turn off the VGA port
|
||||
, ((mod4Mask, xK_v), spawn "/usr/bin/xrandr --output VGA-1 --off")
|
||||
-- Turn on the VGA port and set it as the primary display
|
||||
, ((mod4Mask .|. shiftMask, xK_v), spawn
|
||||
"/usr/bin/xrandr --output LVDS-1 --primary --auto --output VGA-1
|
||||
--left-of LVDS-1 --auto"
|
||||
" /usr/bin/xrandr --output LVDS-1 --primary --auto --output \
|
||||
\ VGA-1 --left-of LVDS-1 --auto"
|
||||
)
|
||||
, ((0 , 0x1008FF11), spawn
|
||||
"amixer set Master 2%-") -- XF86AudioLowerVolume
|
||||
|
|
Loading…
Reference in a new issue