Added additional rofi configuration and plugins
This commit is contained in:
parent
a0b892daea
commit
fadb070332
|
@ -1 +1,3 @@
|
|||
{ config, pkgs, ... }: { imports = [ ./i3.nix ./picom.nix ./polybar.nix ]; }
|
||||
{ config, pkgs, ... }: {
|
||||
imports = [ ./i3.nix ./picom.nix ./polybar.nix ./rofi.nix ];
|
||||
}
|
||||
|
|
24
modules/applications/i3/rofi.nix
Normal file
24
modules/applications/i3/rofi.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.this.application.i3.rofi;
|
||||
i3 = config.this.application.i3;
|
||||
|
||||
in with lib; {
|
||||
options = {
|
||||
this.application.i3.rofi.enable = mkOption {
|
||||
default = i3.enable;
|
||||
type = with types; bool;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.james = {
|
||||
home.packages = with pkgs; [ rofi-systemd rofi-power-menu ];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package =
|
||||
pkgs.rofi.override { plugins = with pkgs; [ rofi-emoji rofi-calc ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user