about summary refs log tree commit diff
path: root/scripts/xshot-select.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xshot-select.sh')
-rwxr-xr-xscripts/xshot-select.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/xshot-select.sh b/scripts/xshot-select.sh
new file mode 100755
index 0000000..53ad782
--- /dev/null
+++ b/scripts/xshot-select.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+PIC="${HOME}/pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
+
+maim --format=png --hidecursor --quality 8 --select "${PIC}"

Consider giving Nix/NixOS a try! <3