Changes
This commit is contained in:
parent
964e01a3fa
commit
e660118219
3 changed files with 6 additions and 15 deletions
|
@ -6,26 +6,18 @@ import XMonad
|
|||
import XMonad.Actions.DynamicProjects
|
||||
import XMonad.Util.Run
|
||||
|
||||
term = "alacritty"
|
||||
term = "kitty"
|
||||
|
||||
spawnGuiTextEditor :: X ()
|
||||
spawnGuiTextEditor :: X ()
|
||||
spawnGuiTextEditor = safeSpawn "vim" ["-g"]
|
||||
|
||||
singleTermAppWithName :: String -> String -> Project
|
||||
singleTermAppWithName name app = Project
|
||||
{ projectName = name
|
||||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do safeSpawn term ["-e","zsh","-c",app]
|
||||
, projectStartHook = Just $ do safeSpawn term ["zsh","-c",app]
|
||||
}
|
||||
|
||||
-- spinVimAndSt :: String -> String -> Project
|
||||
-- spinVimAndSt dir name =
|
||||
-- Project { projectName = name
|
||||
-- , projectDirectory = dir <> name
|
||||
-- , projectStartHook = Just $ do safeSpawn "vim" ["-g", "+set guifont=Victor\\ Mono\\ SemiBold\\ 18|e ."]
|
||||
-- safeSpawn "nvidia-offload" ["alacritty","-e","tmux","new","-A","-s",name]
|
||||
-- }
|
||||
|
||||
singleAppWithName :: String -> String -> Project
|
||||
singleAppWithName name app = Project
|
||||
{ projectName = name
|
||||
|
@ -94,8 +86,7 @@ projects =
|
|||
}
|
||||
, Project { projectName = "notes"
|
||||
, projectDirectory = "~/zk"
|
||||
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||
safeSpawnProg term
|
||||
, projectStartHook = Just $ do safeSpawnProg "logseq"
|
||||
}
|
||||
, Project { projectName = "xmonad"
|
||||
, projectDirectory = "~/.xmonad"
|
||||
|
|
|
@ -16,7 +16,7 @@ modify conf = conf
|
|||
}
|
||||
|
||||
pads =
|
||||
[ NS "htop" "/home/eeva/.nix-profile/bin/alacritty -t htop -e tmux" (title =? "htop")
|
||||
[ NS "htop" "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))
|
||||
|
|
|
@ -61,7 +61,7 @@ withConfig =
|
|||
$ desktopConfig -- on a default desktop config
|
||||
{ manageHook = myManageHook
|
||||
, layoutHook = desktopLayoutModifiers layouts
|
||||
, terminal = "/home/eeva/.nix-profile/bin/alacritty"
|
||||
, terminal = "kitty"
|
||||
, normalBorderColor = N.backgroundhl
|
||||
, focusedBorderColor = N.nord9
|
||||
, borderWidth = 5
|
||||
|
|
Loading…
Reference in a new issue