Replace the bottom wrapper with an alias

This commit is contained in:
SebastianStork 2024-07-19 11:35:16 +02:00
parent 145dda20d6
commit a94f4e2e52
3 changed files with 9 additions and 17 deletions

View file

@ -9,6 +9,7 @@
home.packages = [ home.packages = [
pkgs.eza pkgs.eza
pkgs.bat pkgs.bat
pkgs.bottom
]; ];
home.shellAliases = home.shellAliases =
@ -78,10 +79,15 @@
{ {
cat = "bat --plain --theme=${theme}"; cat = "bat --plain --theme=${theme}";
}; };
bottomAlias = {
btm = "btm --group";
};
in in
lib.mkMerge [ lib.mkMerge [
lsAliases lsAliases
catAlias catAlias
bottomAlias
]; ];
}; };
} }

View file

@ -17,17 +17,15 @@
pkgs.fastfetch pkgs.fastfetch
pkgs.just pkgs.just
(wrappers.kitty { inherit (config.myConfig) theme; })
wrappers.firefox
pkgs.cinnamon.nemo-with-extensions pkgs.cinnamon.nemo-with-extensions
pkgs.jetbrains.idea-community pkgs.jetbrains.idea-community
pkgs.celluloid pkgs.celluloid
pkgs.onlyoffice-bin_latest
pkgs.spotify pkgs.spotify
pkgs.obsidian pkgs.obsidian
pkgs.webcord pkgs.webcord
pkgs.onlyoffice-bin_latest
wrappers.bottom
(wrappers.kitty { inherit (config.myConfig) theme; })
wrappers.firefox
pkgs.corefonts pkgs.corefonts
pkgs.roboto pkgs.roboto

View file

@ -1,12 +0,0 @@
{ inputs, pkgs, ... }:
(inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
{
wrappers.bottom = {
basePackage = pkgs.bottom;
flags = [ "--group" ];
};
}
];
}).config.wrappers.bottom.wrapped