summaryrefslogtreecommitdiff
path: root/local/bin/screenie-active
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /local/bin/screenie-active
Diffstat (limited to 'local/bin/screenie-active')
-rwxr-xr-xlocal/bin/screenie-active3
1 files changed, 3 insertions, 0 deletions
diff --git a/local/bin/screenie-active b/local/bin/screenie-active
new file mode 100755
index 0000000..eab9f1b
--- /dev/null
+++ b/local/bin/screenie-active
@@ -0,0 +1,3 @@
+#!/bin/sh
+maim -i "$(xdotool getactivewindow)" /tmp/shot.png
+xclip -selection clipboard -t image/png -i /tmp/shot.png