mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
More user config variables set in flake
This commit is contained in:
parent
976317527e
commit
86535623cf
5 changed files with 43 additions and 17 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue