From 819ebbbd56ccebb7a58f9676b6439f087e016523 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 May 2025 10:07:44 +0200 Subject: [PATCH] feat(hyprland): use xdg pictures dir for screenshots. --- modules/linux/home-manager/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 6268178..23214b8 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -405,7 +405,7 @@ in { "$mod SHIFT, E, exec, ${power-menu}/bin/power-menu" "$mod, w, exec, ${vpn-toggle}/bin/vpn-toggle" - "$mod, F12, exec, ${grim} $HOME/Pictures/screenshots/$(date +'%s_grim.png')" + "$mod, F12, exec, ${grim} ${config.xdg.userDirs.pictures}/screenshots/$(date +'%s_grim.png')" "$mod, V, exec, cliphist list | tofi --horizontal false --height 380 | cliphist decode | wl-copy"