mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Make clipmenu a part of the rofi configuration
This commit is contained in:
parent
08896fce36
commit
921f4e0cad
3 changed files with 17 additions and 9 deletions
|
|
@ -29,7 +29,10 @@
|
|||
pkgs.brightnessctl
|
||||
];
|
||||
|
||||
myConfig.rofi.enable = true;
|
||||
myConfig.rofi = {
|
||||
enable = true;
|
||||
clipboard.enable = true;
|
||||
};
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -3,14 +3,24 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.myConfig.rofi.enable = lib.mkEnableOption "";
|
||||
}: let
|
||||
cfg = config.myConfig.rofi;
|
||||
in {
|
||||
options.myConfig.rofi = {
|
||||
enable = lib.mkEnableOption "";
|
||||
clipboard.enable = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.myConfig.rofi.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
theme = ./rofi-theme.rasi;
|
||||
};
|
||||
|
||||
services.clipmenu = lib.mkIf cfg.clipboard.enable {
|
||||
enable = true;
|
||||
launcher = "rofi";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,11 +20,6 @@
|
|||
kitty.enable = true;
|
||||
};
|
||||
|
||||
services.clipmenu = {
|
||||
enable = true;
|
||||
launcher = "rofi";
|
||||
};
|
||||
|
||||
programs.btop.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue