diff options
author | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
commit | 05e674a5d1a965040a6e030c617840c9d567f173 (patch) | |
tree | 113eb004a222be4f9f29f4df04582a19ffdc4052 /home-manager/packages/scripts/small_functions/screen_shot | |
parent | Feat(packages): Add my scripts (diff) | |
download | nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.tar.gz nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.zip |
Fix(packages): Don't use hardcoded library paths
Diffstat (limited to 'home-manager/packages/scripts/small_functions/screen_shot')
-rwxr-xr-x | home-manager/packages/scripts/small_functions/screen_shot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/packages/scripts/small_functions/screen_shot b/home-manager/packages/scripts/small_functions/screen_shot index 152feb36..732f3e76 100755 --- a/home-manager/packages/scripts/small_functions/screen_shot +++ b/home-manager/packages/scripts/small_functions/screen_shot @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH grim -g "$(slurp)" ~/media/pictures/screenshots/"$(date +%s)".png && alacritty -e llp -command ":{{ set sortby atime; set reverse!; }}" ~/media/pictures/screenshots |