home: wm: add rofi
This commit is contained in:
parent
1da8177ea2
commit
cdbe16e703
|
@ -3,6 +3,7 @@
|
|||
imports = [
|
||||
./i3.nix
|
||||
./i3bar.nix
|
||||
./rofi.nix
|
||||
];
|
||||
|
||||
options.my.home.wm = with lib; {
|
||||
|
|
19
home/wm/rofi.nix
Normal file
19
home/wm/rofi.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
isEnabled = config.my.home.wm.windowManager == "i3";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf isEnabled {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.rofi.override {
|
||||
plugins = with pkgs; [
|
||||
rofi-emoji
|
||||
];
|
||||
};
|
||||
|
||||
theme = "gruvbox-dark-hard";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue