about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/small_functions/screen_shot
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 08:10:59 +0100
committerene <ene@sils.li>2023-02-25 08:10:59 +0100
commit05e674a5d1a965040a6e030c617840c9d567f173 (patch)
tree113eb004a222be4f9f29f4df04582a19ffdc4052 /home-manager/packages/scripts/small_functions/screen_shot
parentFeat(packages): Add my scripts (diff)
downloadnixos-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-xhome-manager/packages/scripts/small_functions/screen_shot4
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