From 1679fced2ecd5d2d2a78e5ccfe747273dbf3f5cb Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 13:00:35 -0800 Subject: migration: reclassify some apps as desktop components --- snowfall/modules/home/apps/rofi/default.nix | 58 ----------------------------- 1 file changed, 58 deletions(-) delete mode 100644 snowfall/modules/home/apps/rofi/default.nix (limited to 'snowfall/modules/home/apps/rofi') diff --git a/snowfall/modules/home/apps/rofi/default.nix b/snowfall/modules/home/apps/rofi/default.nix deleted file mode 100644 index 5f1ea52..0000000 --- a/snowfall/modules/home/apps/rofi/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ options, config, lib, namespace, ... }: - -with lib; with lib.${namespace}; let - cfg = config.${namespace}.apps.rofi; - desktop = config.${namespace}.desktop; -in { - options.${namespace}.apps.rofi = with types; { - enable = mkEnableOption "rofi"; - }; - - config = mkIf cfg.enable { - programs.rofi = { - enable = true; - - font = "monospace 12"; - - theme = let - inherit (config.lib.formats.rasi) mkLiteral; - c = desktop.theme.colors; - in { - "@import" = "default"; - - "*" = { - background = mkLiteral "#${c.bg}"; - foreground = mkLiteral "#${c.fg}"; - foreground-alt = mkLiteral "#${c.bg3}"; - - alternate-normal-background = mkLiteral "var(background)"; - - selected-normal-foreground = mkLiteral "var(background)"; - selected-normal-background = mkLiteral "#${c.accent}"; - - border-color = mkLiteral "var(background)"; - separatorcolor = mkLiteral "#${c.bg3}"; - }; - - inputbar = { - children = map mkLiteral [ "entry" "num-filtered-rows" "textbox-num-sep" "num-rows" ]; - }; - - element = { - children = map mkLiteral [ "element-icon" "element-text" ]; - }; - - entry.placeholder = ""; - - scrollbar.handle-color = mkLiteral "var(foreground-alt)"; - num-rows.text-color = mkLiteral "var(foreground-alt)"; - num-filtered-rows.text-color = mkLiteral "var(foreground-alt)"; - textbox-num-sep.text-color = mkLiteral "var(foreground-alt)"; - - message.border = mkLiteral "1px solid 0px 0px"; - listview.border = mkLiteral "1px solid 0px 0px"; - sidebar.border = mkLiteral "1px solid 0px 0px"; - }; - }; - }; -} -- cgit v1.2.3