mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21: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
|
pkgs.brightnessctl
|
||||||
];
|
];
|
||||||
|
|
||||||
myConfig.rofi.enable = true;
|
myConfig.rofi = {
|
||||||
|
enable = true;
|
||||||
|
clipboard.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.picom = {
|
services.picom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,24 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
options.myConfig.rofi.enable = lib.mkEnableOption "";
|
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 = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rofi-wayland;
|
package = pkgs.rofi-wayland;
|
||||||
theme = ./rofi-theme.rasi;
|
theme = ./rofi-theme.rasi;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.clipmenu = lib.mkIf cfg.clipboard.enable {
|
||||||
|
enable = true;
|
||||||
|
launcher = "rofi";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,6 @@
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.clipmenu = {
|
|
||||||
enable = true;
|
|
||||||
launcher = "rofi";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.btop.enable = true;
|
programs.btop.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue