update:waybar

This commit is contained in:
dichgrem
2025-07-12 11:09:36 +08:00
parent 4e266843db
commit 846704dc0c
5 changed files with 0 additions and 16 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 -