uhhh the 2nd rendition
This commit is contained in:
Reid 2024-03-28 20:45:53 -07:00
parent 132a109da8
commit 565aac949c
37 changed files with 2606 additions and 36 deletions

22
modules/desktop/rofi.nix Normal file
View file

@ -0,0 +1,22 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.modules.desktop.rofi;
in {
options.modules.desktop.rofi = {
enable = mkEnableOption "Enable rofi, a window switcher, run dialog and dmenu replacement";
};
config = mkIf cfg.enable {
hm.programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
font = with config.modules.desktop.fonts.fonts.monospace; "${family} ${toString size}";
extraConfig = {
show-icons = true;
};
theme = ../../config/rofi.rasi;
};
};
}