mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
some yazi fixes
This commit is contained in:
parent
fca63c71e1
commit
a59f2b7c2e
3 changed files with 59 additions and 1 deletions
|
@ -24,7 +24,7 @@ in {
|
|||
home.packages = with pkgs;
|
||||
lib.optionals (editor == "kate") [ kdePackages.kate];
|
||||
userSettings.spawnEditor = lib.mkMerge [
|
||||
(lib.mkIf (editor == "emacs") "emacsclient -c -a 'emacs'")
|
||||
(lib.mkIf (editor == "emacs") "emacsclient -c -n -a 'emacs'")
|
||||
(lib.mkIf (editor == "neovide") "neovide -- --listen /tmp/nvimsocket")
|
||||
(lib.mkIf (editor == "vscodium") "codium -n")
|
||||
(lib.mkIf (builtins.elem editor [ "vim" "nvim" "nano" "micro" ]) ("exec " + term + " -e " + editor))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue