diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index 126fdeb..4e81339 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -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