fish: only install done when using sway
This commit is contained in:
parent
40f8f28b57
commit
e997ed95d7
|
@ -1,5 +1,5 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ 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 {
|
in {
|
||||||
config = {
|
config = {
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
@ -85,7 +85,6 @@ in {
|
||||||
]) ++ (with pkgs.unstable.fishPlugins; [
|
]) ++ (with pkgs.unstable.fishPlugins; [
|
||||||
async-prompt
|
async-prompt
|
||||||
foreign-env
|
foreign-env
|
||||||
done
|
] ++ (lib.optional (desktop == "sway") done));
|
||||||
]);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue