mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 14:43:59 +05:30
Some zed fixes
This commit is contained in:
parent
8770c61d40
commit
68e2da66c8
2 changed files with 16 additions and 12 deletions
|
|
@ -38,8 +38,9 @@ in {
|
||||||
(lib.mkIf (editor == "emacs") "emacsclient -c")
|
(lib.mkIf (editor == "emacs") "emacsclient -c")
|
||||||
(lib.mkIf (editor == "neovide") "neovide -- --listen /tmp/nvimsocket")
|
(lib.mkIf (editor == "neovide") "neovide -- --listen /tmp/nvimsocket")
|
||||||
(lib.mkIf (editor == "vscodium") "codium -n")
|
(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 [ "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)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -373,6 +373,9 @@ in
|
||||||
"center,title:(Resource)"
|
"center,title:(Resource)"
|
||||||
"tile,title:(Godot)"
|
"tile,title:(Godot)"
|
||||||
"suppressevent maximize,class:^(steam)$"
|
"suppressevent maximize,class:^(steam)$"
|
||||||
|
"float,title:^(Unlock Database - KeePassXC)$"
|
||||||
|
"size 80% 85%,title:^(Unlock Database - KeePassXC)$"
|
||||||
|
"center,title:^(Unlock Database - KeepassXC)$"
|
||||||
] ++ lib.optionals (!performance) [
|
] ++ lib.optionals (!performance) [
|
||||||
"opacity 0.80,class:^(dev.zed.Zed)$"
|
"opacity 0.80,class:^(dev.zed.Zed)$"
|
||||||
"opacity 0.80,class:^(org.pulseaudio.pavucontrol)$"
|
"opacity 0.80,class:^(org.pulseaudio.pavucontrol)$"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue