From 8c0ee4b50446c745e5e2d971de60aa610abffd9a Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 15 Aug 2016 19:42:05 +1000 Subject: [PATCH] Updated xmonadrc with new video output names. --- .xmonad/xmonad.hs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 8187a2c..9779668 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -26,15 +26,15 @@ main = do , ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s") , ((0, xK_Print), spawn "scrot") -- Turn off the display port - , ((mod4Mask, xK_d), spawn "/usr/bin/xrandr --output DP1 --off") + , ((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 DP1 --primary ; /usr/bin/xrandr --output LVDS1 --mode 1280x800; /usr/bin/xrandr --output DP1 --mode 2560x1440; /usr/bin/xrandr --output DP1 --left-of LVDS1") + , ((mod4Mask .|. shiftMask, xK_d), spawn "/usr/bin/xrandr --output DP-1 --primary ; /usr/bin/xrandr --output LVDS-1 --mode 1280x800; /usr/bin/xrandr --output DP-1 --mode 2560x1440; /usr/bin/xrandr --output DP-1 --left-of LVDS-1") -- Turn off the HDMI port - , ((mod4Mask .|. controlMask, xK_h), spawn "/usr/bin/xrandr --output HDMI1 --off") + , ((mod4Mask .|. controlMask, xK_h), spawn "/usr/bin/xrandr --output HDMI-1 --off") -- Turn on the HDMI port and set it as the primary display - , ((mod4Mask .|. shiftMask, xK_h), spawn "/usr/bin/xrandr --output HDMI1 --primary ; /usr/bin/xrandr --output LVDS1 --mode 1280x800; /usr/bin/xrandr --output HDMI1 --mode 1600x900; /usr/bin/xrandr --output HDMI1 --left-of LVDS1") - , ((mod4Mask, xK_v), spawn "/usr/bin/xrandr --output VGA1 --off") - , ((mod4Mask .|. shiftMask, xK_v), spawn " /usr/bin/xrandr --output VGA1 --primary ; /usr/bin/xrandr --output LVDS1 --mode 1280x800; /usr/bin/xrandr --output VGA1 --mode 1600x900; /usr/bin/xrandr --output VGA1 --left-of LVDS1") + , ((mod4Mask .|. shiftMask, xK_h), spawn "/usr/bin/xrandr --output HDMI-1 --primary ; /usr/bin/xrandr --output LVDS-1 --mode 1280x800; /usr/bin/xrandr --output HDMI-1 --mode 1600x900; /usr/bin/xrandr --output HDMI-1 --left-of LVDS-1") + , ((mod4Mask, xK_v), spawn "/usr/bin/xrandr --output VGA-1 --off") + , ((mod4Mask .|. shiftMask, xK_v), spawn " /usr/bin/xrandr --output VGA-1 --primary ; /usr/bin/xrandr --output LVDS-1 --mode 1280x800; /usr/bin/xrandr --output VGA-1 --mode 1600x900; /usr/bin/xrandr --output VGA-1 --left-of LVDS-1") , ((0 , 0x1008FF11), spawn "amixer set Master 2%-") -- XF86AudioLowerVolume , ((0 , 0x1008FF12), spawn "amixer set Master toggle") -- XF86AudioMute , ((0 , 0x1008FF13), spawn "amixer set Master 2%+") -- XF86AudioRaiseVolume