Desktop environment refactor
This commit is contained in:
@@ -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\"";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user