Wrap rofi

This commit is contained in:
SebastianStork 2024-05-08 23:40:41 +02:00
parent d51b29358f
commit 694a21affa
8 changed files with 346 additions and 46 deletions

21
wrappers/rofi/default.nix Normal file
View file

@ -0,0 +1,21 @@
{
assembleWrapper,
pkgs,
lib,
...
}: {theme ? "dark"}:
assembleWrapper {
basePackage = pkgs.rofi-wayland;
flags = let
kitty-config =
{
dark = ./dark-config.rasi;
light = ./light-config.rasi;
}
.${theme};
in [
"-config"
kitty-config
];
}