chore(nix): Clean up rofi module

This commit is contained in:
Donovan Glover 2024-04-03 05:52:10 -04:00
parent e82b8d40f9
commit 942785cf5b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,11 +1,17 @@
{ config, lib, pkgs, ... }:
let
inherit (pkgs) rofi-wayland;
inherit (lib) mkForce;
inherit (config.lib.formats.rasi) mkLiteral;
inherit (config.lib.stylix.colors) base00 base05;
in
{
programs.rofi = {
enable = true;
cycle = false;
package = pkgs.rofi-wayland;
package = rofi-wayland;
extraConfig = {
modi = "drun,filebrowser";
@ -25,7 +31,7 @@
};
# Based on Newman Sánchez's Launchpad theme <https://github.com/newmanls/rofi-themes-collection>
theme = let inherit (config.lib.formats.rasi) mkLiteral; in with config.lib.stylix.colors; lib.mkForce {
theme = mkForce {
"*" = {
font = "Noto Sans CJK JP Bold 12";
background-color = mkLiteral "transparent";