Switch to kitty

This commit is contained in:
Martin Potier 2021-12-15 12:38:09 +02:00
parent 29a3874b34
commit 8d1c03a862
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E
4 changed files with 11 additions and 7 deletions

View file

@ -75,6 +75,9 @@ modify conf = conf
-- resizing the master/slave ratio
, ("M-h", sendMessage Shrink) -- Shrink the master area
, ("M-l", sendMessage Expand) -- Expand the master area
-- dunstctl calls
, ("C-<Space>", spawn "dunstctl close")
, ("C-S-<Space>", spawn "dunstctl close-all")
]

View file

@ -10,8 +10,8 @@ spinTextEditorAndTerm :: String -> String -> Project
spinTextEditorAndTerm dir name =
Project { projectName = name
, projectDirectory = dir <> name
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
safeSpawn "nvidia-offload" ["alacritty","-e","tmux","new","-A","-s",name]
, projectStartHook = Just
$ safeSpawn "nvidia-offload" ["kitty","tmux","new","-A","-s",name]
}
spinChat :: String -> Project
@ -25,7 +25,7 @@ spinInTermWithName :: String -> String -> Project
spinInTermWithName projectName cmd =
Project { projectName = projectName
, projectDirectory = "/tmp"
, projectStartHook = Just $ do safeSpawn "alacritty" ["-e", cmd]
, projectStartHook = Just $ do safeSpawn "kitty" [cmd]
}
spinInTerm :: String -> Project
@ -48,6 +48,7 @@ projects = [ adminProject "wrk-config"
, adminProject "overlays-personal"
, candyProject "dhall-packages"
, candyProject "hfdb"
, candyProject "adventofcode"
, justStart "obs"
, justStart "m8c"
, spinChat "element"
@ -55,7 +56,7 @@ projects = [ adminProject "wrk-config"
, spinChat "wire"
, spinInTerm "k9s"
, spinInTermWithName "email" "neomutt"
, spinTextEditorAndTerm "~/.xmonad" "xmonad"
, spinTextEditorAndTerm "~/." "xmonad" -- Dark magic!
, workProject "azure-core-infra"
, workProject "azure-kube-platform"
, workProject "bob-the-builder"
@ -107,7 +108,7 @@ projects = [ adminProject "wrk-config"
, Project { projectName = "status"
, projectDirectory = "/tmp"
, projectStartHook = Just $ do
safeSpawn "nvidia-offload" ["alacritty","-e","gotop"]
safeSpawn "nvidia-offload" ["kitty","gotop"]
}
, Project { projectName = "frs"
, projectDirectory = "/tmp"

View file

@ -16,7 +16,7 @@ modify conf = conf
}
pads =
[ NS "htop" "nvidia-offload alacritty -t htop -e tmux" (title =? "htop")
[ NS "htop" "nvidia-offload kitty --title htop tmux" (title =? "htop")
(customFloating $ W.RationalRect (1/3) (1/3) (1/3) (1/3))
-- , NS "stardict" "stardict" (className =? "Stardict")
-- (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3))

View file

@ -69,7 +69,7 @@ withConfig =
{ manageHook = myManageHook <+> manageHook desktopConfig
, layoutHook = desktopLayoutModifiers layouts
, startupHook = spawnOnce "sh ~/.fehbg"
, terminal = "nvidia-offload alacritty"
, terminal = "nvidia-offload kitty"
, normalBorderColor = S.base03
, focusedBorderColor = S.violet
, borderWidth = 5