fish: only install done when using sway

This commit is contained in:
Leonardo Eugênio 2023-05-20 14:27:16 -03:00
parent 40f8f28b57
commit e997ed95d7

View file

@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }:
let inherit (pkgs.uservars) key theme color accent font editor;
let inherit (pkgs.uservars) key theme color accent font editor desktop;
in {
config = {
programs.fish = {
@ -85,7 +85,6 @@ in {
]) ++ (with pkgs.unstable.fishPlugins; [
async-prompt
foreign-env
done
]);
] ++ (lib.optional (desktop == "sway") done));
};
}