about summary refs log tree commit diff stats
path: root/pkgs/by-name/sc/screenshot_persistent
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-02 19:07:42 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-02 19:07:42 +0100
commite0c24a6735faf350c88d08b9c2e2d509e5780568 (patch)
tree7ad984ca60f7768fcfeb645a5a2a6ef4da902476 /pkgs/by-name/sc/screenshot_persistent
parentrefactor(pkgs/lock): Migrate away from `sysLib` (diff)
downloadnixos-config-e0c24a6735faf350c88d08b9c2e2d509e5780568.zip
fix(pkgs/screenshot_persistent): Start lf floating and on the correct file
Diffstat (limited to 'pkgs/by-name/sc/screenshot_persistent')
-rwxr-xr-xpkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh b/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh
index f16dd46b..2bea69e3 100755
--- a/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh
+++ b/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh
@@ -12,7 +12,7 @@ if grim -g "$(slurp)" "$tmp"; then
     done
 
     mv "$tmp" "$screen_shot_path"
-    alacritty -e lf -command ":{{ set sortby atime; set reverse!; }}"
+    alacritty --title "floating please" --command lf -command ":{{ set sortby atime; set reverse!; set info time; }}" "$screen_shot_path"
 fi
 
 # vim: ft=sh