Drop wrapper-manager

This commit is contained in:
SebastianStork 2025-03-08 14:29:12 +01:00
parent fa04b898a9
commit 758d78e737
24 changed files with 159 additions and 262 deletions

View file

@ -0,0 +1,27 @@
{
config,
pkgs,
lib,
...
}:
{
options.myConfig.de.rofi.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.de.rofi.enable {
home.packages = [ pkgs.rofi-wayland ];
xdg.configFile."rofi/config.rasi".source =
let
theming =
{
dark = ./dark-theme.rasi;
light = ./light-theme.rasi;
}
.${config.myConfig.de.theme};
in
pkgs.concatText "rofi-config" [
./config.rasi
theming
];
};
}