summaryrefslogtreecommitdiff
path: root/home/apps/rofi/theme.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-05 15:19:33 -0500
committerFreya Murphy <freya@freyacat.org>2026-01-05 15:19:33 -0500
commit1581a9c31d68e42ebec8e69c84a1a7441155bc90 (patch)
treee0d039f565789455127aed179f1bad11cb4f8b90 /home/apps/rofi/theme.nix
parentfix wofi, and switch back to it (diff)
downloaddotfiles-nix-1581a9c31d68e42ebec8e69c84a1a7441155bc90.tar.gz
dotfiles-nix-1581a9c31d68e42ebec8e69c84a1a7441155bc90.tar.bz2
dotfiles-nix-1581a9c31d68e42ebec8e69c84a1a7441155bc90.zip
rofiiiiiiii
Diffstat (limited to 'home/apps/rofi/theme.nix')
-rw-r--r--home/apps/rofi/theme.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/home/apps/rofi/theme.nix b/home/apps/rofi/theme.nix
new file mode 100644
index 0000000..891b5a3
--- /dev/null
+++ b/home/apps/rofi/theme.nix
@@ -0,0 +1,27 @@
+{theme}: let
+ text = "#${theme.colors.text}";
+ base = "#${theme.colors.base}";
+ surface = "#${theme.colors.surface}";
+ primary = "#${theme.colors.primary}";
+ error = "#${theme.colors.error}";
+ outerGap = "${toString theme.outerGap}px";
+ innerGap = "${toString theme.innerGap}px";
+ outerRadius = "${toString theme.outerRadius}px";
+ innerRadius = "${toString theme.innerRadius}px";
+ borderWidth = "${toString theme.borderWidth}px";
+ wallpaper = theme.wallpaper;
+in ''
+ * {
+ primary: ${primary};
+ error: ${error};
+ base: ${base};
+ surface: ${surface};
+ text: ${text};
+ inner-radius: ${innerRadius};
+ outer-radius: ${outerRadius};
+ inner-gap: ${innerGap};
+ outer-gap: ${outerGap};
+ border-width: ${borderWidth};
+ background: url("${wallpaper}", height);
+ }
+''