Some zed fixes

This commit is contained in:
Emmet 2025-10-25 15:03:45 -05:00
parent 8770c61d40
commit 68e2da66c8
2 changed files with 16 additions and 12 deletions

View file

@ -38,8 +38,9 @@ in {
(lib.mkIf (editor == "emacs") "emacsclient -c")
(lib.mkIf (editor == "neovide") "neovide -- --listen /tmp/nvimsocket")
(lib.mkIf (editor == "vscodium") "codium -n")
(lib.mkIf (editor == "zed") "zeditor --wait")
(lib.mkIf (builtins.elem editor [ "vim" "nvim" "nano" "micro" ]) ("exec " + term + " -e " + editor))
(lib.mkIf (!(builtins.elem editor [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium" ])) editor)
(lib.mkIf (!(builtins.elem editor [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium" "zed" ])) editor)
];
};
};

View file

@ -373,6 +373,9 @@ in
"center,title:(Resource)"
"tile,title:(Godot)"
"suppressevent maximize,class:^(steam)$"
"float,title:^(Unlock Database - KeePassXC)$"
"size 80% 85%,title:^(Unlock Database - KeePassXC)$"
"center,title:^(Unlock Database - KeepassXC)$"
] ++ lib.optionals (!performance) [
"opacity 0.80,class:^(dev.zed.Zed)$"
"opacity 0.80,class:^(org.pulseaudio.pavucontrol)$"