From bda0d8519201fb6dc57411db497641ca11cddfef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Fri, 1 Sep 2017 14:49:13 -0400 Subject: Add another layout for two screens --- xmonad/xmonad.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index fa80900..38eff03 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -42,9 +42,10 @@ myConfig host = when (host == "orange") (layoutScreens 2 (TwoPane 0.5 0.5)) , manageHook = isDialog --> doF W.shiftMaster <+> doF W.swapDown } - where myLayout = onHost "orange" (verticalTiled ||| Full) $ + where myLayout = onHost "orange" (verticalTiled ||| horizontalTiled ||| Full) $ layoutHook defaultConfig verticalTiled = Mirror (Tall 1 (5/100) (2/3)) + horizontalTiled = Tall 0 (5/100) (2/3) muteCommand = "pactl set-sink-mute @DEFAULT_SINK@ toggle" increaseVolumeCommand = "sh -c \"pactl set-sink-mute 0 false ; pactl set-sink-volume @DEFAULT_SINK@ +5%\"" -- cgit v1.2.3