1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 19:03:53 +00:00
ultima/modules/home/wm/misc/rofi/default.nix
2024-12-20 22:10:11 +09:00

36 lines
513 B
Nix

{
x,
pkgs,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.wm.misc.rofi;
in
{
options = {
module.wm.misc.rofi = {
enable = mkBool;
};
};
config = mkIf cfg.enable {
programs.rofi = True // {
location = "bottom";
terminal = "kitty";
package = pkgs.rofi-wayland;
plugins = with pkgs; [
rofi-file-browser
rofi-power-menu
rofi-screenshot
rofi-bluetooth
rofi-calc
rofimoji
];
};
};
}