[xmonad] add per screen layout
This commit is contained in:
parent
555947c6c1
commit
ba1eeac94b
1 changed files with 5 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
{-# OPTIONS_GHC -Wno-deprecations #-}
|
{-# OPTIONS_GHC -Wno-deprecations #-}
|
||||||
|
|
||||||
|
|
||||||
import XMonad
|
import XMonad
|
||||||
|
|
||||||
|
|
||||||
--Utils
|
--Utils
|
||||||
import XMonad.Util.EZConfig (additionalKeysP,removeKeysP)
|
import XMonad.Util.EZConfig (additionalKeysP,removeKeysP)
|
||||||
import XMonad.Util.Loggers (logLayoutOnScreen, logTitleOnScreen, shortenL, wrapL, xmobarColorL)
|
import XMonad.Util.Loggers (logLayoutOnScreen, logTitleOnScreen, shortenL, wrapL, xmobarColorL)
|
||||||
|
@ -25,6 +25,7 @@ import XMonad.Actions.UpdateFocus (focusUnderPointer)
|
||||||
--Layouts
|
--Layouts
|
||||||
import XMonad.Layout.NoBorders
|
import XMonad.Layout.NoBorders
|
||||||
import XMonad.Layout.Spacing
|
import XMonad.Layout.Spacing
|
||||||
|
import XMonad.Layout.PerScreen
|
||||||
|
|
||||||
|
|
||||||
-- MultiMonitorFocusHook
|
-- MultiMonitorFocusHook
|
||||||
|
@ -46,7 +47,7 @@ import Colors.GruvBox
|
||||||
|
|
||||||
myTerminal = "wezterm"
|
myTerminal = "wezterm"
|
||||||
myTextEditor = "nvim"
|
myTextEditor = "nvim"
|
||||||
myWebBrowser = "firefox"
|
myWebBrowser = "zen-browser"
|
||||||
myModMask = mod4Mask
|
myModMask = mod4Mask
|
||||||
|
|
||||||
myFocusFollowsMouse :: Bool
|
myFocusFollowsMouse :: Bool
|
||||||
|
@ -137,6 +138,7 @@ myStartupHook = do
|
||||||
spawnOnce "dunst &"
|
spawnOnce "dunst &"
|
||||||
spawnOnce "lxpolkit"
|
spawnOnce "lxpolkit"
|
||||||
spawnOnce "thunar --daemon"
|
spawnOnce "thunar --daemon"
|
||||||
|
spawnOnce "sensors"
|
||||||
spawnOnce "pasystray"
|
spawnOnce "pasystray"
|
||||||
spawnOnce "nitrogen --restore &"
|
spawnOnce "nitrogen --restore &"
|
||||||
spawnOnce "playerctld"
|
spawnOnce "playerctld"
|
||||||
|
@ -167,7 +169,7 @@ myXmobarPP = def
|
||||||
where
|
where
|
||||||
wsIconFull = " <fn=2>\xf111</fn> "
|
wsIconFull = " <fn=2>\xf111</fn> "
|
||||||
|
|
||||||
myLayoutHook = (Tall 1 (3/100) (0.5)) ||| (Mirror $ Tall 1 (3/100) (0.5))
|
myLayoutHook = ifWider 1080 (Tall 1 (3/100) (1/2)) (Mirror $ Tall 1 (3/100) (1/2)) ||| Full
|
||||||
|
|
||||||
myConfig = def
|
myConfig = def
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue