From 952b0536cc8b1c0c4e6fe1505f222da42c39beee Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Tue, 29 Aug 2017 20:26:56 +1000 Subject: [PATCH] Updated the screen layout --- .xmonad/xmonad.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 5ba04f9..9a0f7e7 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -1,4 +1,5 @@ import XMonad +import XMonad.Config.Desktop import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) @@ -8,11 +9,11 @@ import System.IO main = do xmproc <- spawnPipe "/usr/bin/xmobar /home/craige/.xmobarrc" -- Launch xmobar as my task bar. - xmonad $ defaultConfig + xmonad $ desktopConfig { focusFollowsMouse = False , terminal = "terminology" - , manageHook = manageDocks <+> manageHook defaultConfig - , layoutHook = avoidStruts $ layoutHook defaultConfig + , manageHook = manageDocks <+> manageHook desktopConfig + , layoutHook = avoidStruts $ layoutHook desktopConfig , logHook = dynamicLogWithPP $ xmobarPP { ppOutput = hPutStrLn xmproc , ppCurrent = xmobarColor "#859900" "" . wrap "[" "]" @@ -48,7 +49,7 @@ 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" + \ HDMI-1 --right-of LVDS-1 --auto" ) -- Turn off the VGA port , ((mod4Mask, xK_v), spawn "/usr/bin/xrandr --output VGA-1 --off")