This commit is contained in:
dichgrem
2025-11-05 16:43:49 +08:00
parent df526cd54f
commit 0ff31da235
7 changed files with 4 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(slurp)" - | swappy -f -

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim - | wl-copy -t image/png;notify-send "Screenshot copied to clipboard"

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(hyprctl clients -j | jq '.[] | select(.hidden | not) | "\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' -r | slurp)" - | swappy -f -

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
## only support EN
grim -g "$(slurp)" - | tesseract -l "eng" stdin stdout | wl-copy;notify-send "OCR content copied to clipboard"

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -