diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-05 15:19:33 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-05 15:19:33 -0500 |
| commit | 1581a9c31d68e42ebec8e69c84a1a7441155bc90 (patch) | |
| tree | e0d039f565789455127aed179f1bad11cb4f8b90 /home/apps/rofi/theme.nix | |
| parent | fix wofi, and switch back to it (diff) | |
| download | dotfiles-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.nix | 27 |
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); + } +'' |