From 5f519133d9018efc8cc666366708ce77755861cb Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 20 May 2025 16:46:07 +0200 Subject: [PATCH] feat: adds more functionality [`C-x {s,r,e}`] to `nsxiv` --- modules/home/hyprland/scripts.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/hyprland/scripts.nix b/modules/home/hyprland/scripts.nix index 00e6896..6aca500 100644 --- a/modules/home/hyprland/scripts.nix +++ b/modules/home/hyprland/scripts.nix @@ -12,6 +12,9 @@ case "$1" in "w") setbg "$file" ;; "d") mv "$file" "$HOME/.trash/";; + "s") mkdir -p "$HOME/temp" && cp "$file" "$HOME/temp" ;; + "r") mkdir -p "$HOME/temp" && cp "$(basename "$file" ".JPG").RAF" "$HOME/temp" ;; + "e") echo -e "'$(pwd)"/"$(basename "$file" ".JPG").RAF'\n'$(pwd)/""$file""'" ;; esac done '';