about summary refs log tree commit diff
path: root/misc/bin/xshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bin/xshot.sh')
-rwxr-xr-xmisc/bin/xshot.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/bin/xshot.sh b/misc/bin/xshot.sh
new file mode 100755
index 0000000..d7984e3
--- /dev/null
+++ b/misc/bin/xshot.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 "${PIC}"

Consider giving Nix/NixOS a try! <3