Desktop environment refactor

This commit is contained in:
marc
2024-12-03 20:03:23 +01:00
parent c62acaa77f
commit a5cd3713e7
16 changed files with 210 additions and 164 deletions

View File

@@ -5,7 +5,7 @@
let
cfg = config.samfelag.modules.dev.devenv;
i3Cfg = config.samfelag.modules.desktop.i3;
i3Cfg = config.samfelag.modules.desktop.wm.i3;
in
{
options.samfelag.modules.dev.devenv = {
@@ -21,7 +21,7 @@ in
};
# TODO: This assumes we have alacritty and a python311 devenv set up (may want to fix this at some point)
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
samfelag.modules.desktop.wm.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
"${i3Cfg.mod}+Shift+P" = "exec ${pkgs.alacritty}/bin/alacritty -t floating-term -e zsh -c \"direnv exec ~/sandbox/python311 ipython\"";
};