From 672e091d1c3f52352766c202f3fe6200d3a1817d Mon Sep 17 00:00:00 2001 From: foglar Date: Sun, 29 Dec 2024 17:19:13 +0100 Subject: [PATCH] rofi style update --- nixos/home/desktop/hyprland/rofi.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/home/desktop/hyprland/rofi.nix b/nixos/home/desktop/hyprland/rofi.nix index c65b76d..2d08f18 100644 --- a/nixos/home/desktop/hyprland/rofi.nix +++ b/nixos/home/desktop/hyprland/rofi.nix @@ -2,6 +2,7 @@ lib, config, pkgs, + userSettings, ... }: { options = { @@ -58,7 +59,7 @@ orientation = mkLiteral "vertical"; children = ["inputbar" "listbox"]; background-color = mkLiteral "transparent"; - background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/aurora_borealis.png\", HEIGHT)"; + background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/${userSettings.background}\", HEIGHT)"; }; # Input bar settings @@ -68,7 +69,7 @@ padding = mkLiteral "5em"; children = ["entry"]; background-color = mkLiteral "transparent"; - background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/aurora_borealis.png\", WIDTH)"; + background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/${userSettings.background}\", WIDTH)"; }; # Entry field settings