2021-11-12 17:10:17 +01:00
|
|
|
{ lib, pkgs, config, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.programs.rofi;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.programs.rofi.enable = mkEnableOption "Enable rofi";
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
|
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
2021-11-16 00:22:18 +01:00
|
|
|
package = pkgs.rofi-wayland;
|
2021-11-12 17:10:17 +01:00
|
|
|
theme = ./launch.rasi;
|
2021-11-17 16:32:18 +01:00
|
|
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
2021-11-12 17:10:17 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|