From 6b0161b2639bb49e270754e90f4f8a47311c5198 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 18 Sep 2026 23:26:17 +0530 Subject: chore: projectwide refactoring - Using more consistent naming conventions across the project. Using java style super descriptive variable names. - Removed slop comments in favor of using more descriptive naming conventions. --- modules/desktop/rofi/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'modules/desktop/rofi/default.nix') diff --git a/modules/desktop/rofi/default.nix b/modules/desktop/rofi/default.nix index ced9167..bbf1aea 100644 --- a/modules/desktop/rofi/default.nix +++ b/modules/desktop/rofi/default.nix @@ -1,8 +1,13 @@ +# Application launcher and dmenu replacement { config, lib, + pkgs, ... }: +let + base16Colors = import ../../colors/base16 { inherit config lib pkgs; }; +in { options.desktop.rofi = { package = lib.mkOption { @@ -18,7 +23,7 @@ enable = true; theme = let - template = + fontExpandedThemeTemplate = builtins.replaceStrings [ "@@rofi-font@@" @@ -30,9 +35,9 @@ ] (builtins.readFile ./theme.rasi); in - "${config.scheme { - inherit template; - extension = ".rasi"; + "${base16Colors { + templateFileOrContent = fontExpandedThemeTemplate; + fileExtension = ".rasi"; }}"; extraConfig = { modi = "drun"; -- cgit v1.2.3