From df2e5904b9060d7b39f7ade123d1f5912dbeb06f Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 May 2023 22:13:25 +0200 Subject: Fix(hm/pkgs/scrs): Rework some of them --- home-manager/packages/scripts/small_functions/screen_shot | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'home-manager/packages/scripts/small_functions/screen_shot') diff --git a/home-manager/packages/scripts/small_functions/screen_shot b/home-manager/packages/scripts/small_functions/screen_shot index d0cbeb5c..815fd4fe 100755 --- a/home-manager/packages/scripts/small_functions/screen_shot +++ b/home-manager/packages/scripts/small_functions/screen_shot @@ -3,5 +3,8 @@ # shellcheck source=/dev/null SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH -grim -g "$(slurp)" ~/media/pictures/screenshots/"$(date +%s)".png && - alacritty -e llp -command ":{{ set sortby atime; set reverse!; }}" ~/media/pictures/screenshots +date="$(date +%s)" +grim -g "$(slurp)" "$HOME/media/pictures/screenshots/$date.png" && + alacritty -e ll -command ":{{ set sortby atime; set reverse!; }}" "$HOME/media/pictures/screenshots/$date.png" + +# vim: ft=sh -- cgit 1.4.1