More user config variables set in flake

This commit is contained in:
Emmet 2023-06-22 15:48:09 -05:00
parent 976317527e
commit 86535623cf
5 changed files with 43 additions and 17 deletions

View file

@ -89,8 +89,10 @@ myFocusedBorderColor = colorFocus
#+BEGIN_SRC haskell :tangle xmonad.hs
-- Default apps
myTerminal, myBrowser :: String
myTerminal = "alacritty -o font.size=20"
myBrowser = "librewolf"
myTerminal = "$TERM"
myBrowser = "$BROWSER"
myEditor = "$EDITOR"
mySpawnEditor = "$SPAWNEDITOR"
#+END_SRC
*** Mouse Focus
@ -167,7 +169,6 @@ myScratchPads =
w = 0.9
t = 0.95 - h
l = 0.95 - w
--spawnRanger = myTerminal ++ " --title ranger-scratchpad -e ranger"
spawnRanger = "kitty --title ranger-scratchpad -e ranger"
findRanger = title =? "ranger-scratchpad"
manageRanger = customFloating $ W.RationalRect l t w h
@ -268,7 +269,7 @@ The following binds the following:
((modm, xK_Return), spawn $ XMonad.terminal conf),
-- launch emacsclient
((modm, xK_a), spawn "emacsclient -c -a 'emacs'"),
((modm, xK_a), spawn mySpawnEditor),
-- launch browser
((modm, xK_s), spawn myBrowser),