fix: shortcut rofi not showing svg

This commit is contained in:
DACHXY 2025-01-14 12:30:14 +08:00
parent 21be3b127f
commit 69e41c6e05

View file

@ -7,7 +7,8 @@
xcursor-size, xcursor-size,
nvidia-offload-enabled ? false, nvidia-offload-enabled ? false,
... ...
}: let }:
let
terminal = "ghostty"; terminal = "ghostty";
startScript = import ./hypr/exec.nix { startScript = import ./hypr/exec.nix {
inherit inherit
@ -30,7 +31,8 @@
song_info=$(playerctl metadata --format '{{title}} 󰎆 {{artist}}') song_info=$(playerctl metadata --format '{{title}} 󰎆 {{artist}}')
echo "$song_info" echo "$song_info"
''; '';
in { in
{
home.packages = with pkgs; [ home.packages = with pkgs; [
hyprpaper hyprpaper
hyprcursor hyprcursor
@ -70,6 +72,7 @@ in {
''XCURSOR_SIZE, ${xcursor-size}'' ''XCURSOR_SIZE, ${xcursor-size}''
''XDG_CURRENT_DESKTOP, Hyprland'' ''XDG_CURRENT_DESKTOP, Hyprland''
''XDG_SESSION_DESKTOP, Hyprland'' ''XDG_SESSION_DESKTOP, Hyprland''
''GDK_PIXBUF_MODULE_FILE, ${pkgs.librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'' # Make rofi load svg
]; ];
} }
// window // window