From 05e674a5d1a965040a6e030c617840c9d567f173 Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 25 Feb 2023 08:10:59 +0100 Subject: Fix(packages): Don't use hardcoded library paths --- home-manager/packages/scripts/small_functions/screen_shot | 4 ++-- 1 file changed, 2 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 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 -- cgit 1.4.1