mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
21 lines
360 B
Nix
21 lines
360 B
Nix
{
|
|
assembleWrapper,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {theme ? "dark"}:
|
|
assembleWrapper {
|
|
basePackage = pkgs.rofi-wayland;
|
|
|
|
flags = let
|
|
rofi-config =
|
|
{
|
|
dark = ./dark-config.rasi;
|
|
light = ./light-config.rasi;
|
|
}
|
|
.${theme};
|
|
in [
|
|
"-config"
|
|
rofi-config
|
|
];
|
|
}
|