diff options
author | awy <awy@awy.one> | 2025-08-20 17:02:12 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-08-20 17:02:12 +0300 |
commit | cbbb75cbae0d50f92e1f03a441df73a3a35b6172 (patch) | |
tree | 359b37f4064ed649113bc99fcc4a929dc6a6dcaf /.local/bin | |
parent | 180a5541c3ad9f3629518c6c5b8ef52811a5f68b (diff) | |
download | hyprdots-cbbb75cbae0d50f92e1f03a441df73a3a35b6172.tar.gz |
allow restore token
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/dmenuscreenshare | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/dmenuscreenshare b/.local/bin/dmenuscreenshare index 169e416..11ef879 100755 --- a/.local/bin/dmenuscreenshare +++ b/.local/bin/dmenuscreenshare @@ -4,7 +4,7 @@ get_window() { input="$(echo $XDPH_WINDOW_SHARING_LIST | sed 's/\[HE>\]/\n/g' | sed -E 's/\[(HC|HE)>][^[]*//g')" choice=$(echo "$input" | mew -l 10) - printf '[SELECTION]/window:%s\n' "$choice" + printf '[SELECTION]r/window:%s\n' "$choice" } get_screen() @@ -12,13 +12,13 @@ get_screen() input="$(hyprctl monitors -j | jq -r '.[].name')" num="$(cat $input | wc -l)" choice=$(echo "$input" | mew) - printf '[SELECTION]/screen:%s\n' "$choice" + printf '[SELECTION]r/screen:%s\n' "$choice" } get_region() { choice="$(slurp -f "%o@%X,%Y,%w,%h")" - printf '[SELECTION]/region:%s\n' "$choice" + printf '[SELECTION]r/region:%s\n' "$choice" } type=$(printf "screen\nwindows\nregion" | mew -p "Choose what to screenshare:") |