use a windows limit of 2

main
hashirama 2024-06-13 20:33:15 +00:00
parent a2659bfdc4
commit 179ed7732d
1 changed files with 2 additions and 5 deletions

View File

@ -46,6 +46,7 @@ import Data.List (find)
import XMonad.Actions.EasyMotion (selectWindow)
import XMonad.Actions.FocusNth (swapNth)
import qualified XMonad.StackSet as W
import XMonad.Layout.LimitWindows
@ -90,7 +91,6 @@ myConfig = def
, ("M-q", kill) -- Change the keybinding for closing windows to Mod + Q
, ("M-m", spawn "alacritty -e sh -c 'cd /mnt/Data/Music/ && cmus'")
, ("M-S-r", spawn "~/.local/bin/run_anki.sh")
, ("M-S-v", spawn "emacsclient --eval '(org-roam-dailies-capture-today)' -d=$DISPLAY")
, ("M-S-d", spawn "~/.local/bin/recent_journal.py | popup")
, ("M-r", runOrRaise "~/.local/bin/run_anki.sh" (className =? "Anki"))
, ("M-g", runOrRaise "foliate" (className =? "com.github.johnfactotum.Foliate"))
@ -125,10 +125,7 @@ myTheme = def
-- Add other theme properties as needed
}
myLayout = mouseResize $ spacingRaw True (Border 10 10 10 10) True (Border 10 10 10 10) True $
tallLayout ||| Full
where
tallLayout = reflectHoriz $ Tall 2 (3/100) (1/2)
myLayout = limitWindows 2 $ Tall 1 0.03 0.5 ||| Full
toggleLayout :: X ()
toggleLayout = do