mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 03:31:34 +01:00
Wrap rofi
This commit is contained in:
parent
d51b29358f
commit
694a21affa
8 changed files with 346 additions and 46 deletions
21
wrappers/rofi/default.nix
Normal file
21
wrappers/rofi/default.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue