about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-12 16:37:40 +0100
committerSoispha <soispha@vhack.eu>2023-12-12 16:37:40 +0100
commit9a7988ccaa537a735ac5ef174bca259a23a6c654 (patch)
tree49df47b0f8ad8bce366d400f5ebff911e9f33730 /hm/soispha/pkgs/scripts/small_functions/screenshot_temporary
parentchore(version): v1.17.1 (diff)
downloadnixos-config-9a7988ccaa537a735ac5ef174bca259a23a6c654.zip
feat(hm/pkgs/scrs/screenshot): Add better persistent and temporary script
Diffstat (limited to 'hm/soispha/pkgs/scripts/small_functions/screenshot_temporary')
-rwxr-xr-xhm/soispha/pkgs/scripts/small_functions/screenshot_temporary8
1 files changed, 8 insertions, 0 deletions
diff --git a/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary b/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary
new file mode 100755
index 00000000..9dca8774
--- /dev/null
+++ b/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary
@@ -0,0 +1,8 @@
+#! /usr/bin/env dash
+
+# shellcheck source=/dev/null
+SHELL_LIBRARY_VERSION="1.7.1" . %SHELL_LIBRARY_PATH
+
+grim -g "$(slurp)" | wl-copy
+
+# vim: ft=sh