aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/dmenuscreenshare
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dmenuscreenshare')
-rwxr-xr-x.local/bin/dmenuscreenshare6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/dmenuscreenshare b/.local/bin/dmenuscreenshare
index f94f00b..0782637 100755
--- a/.local/bin/dmenuscreenshare
+++ b/.local/bin/dmenuscreenshare
@@ -3,7 +3,7 @@
get_window()
{
input="$(echo $XDPH_WINDOW_SHARING_LIST | sed 's/\[HA>\]/[HA>]\n/g')"
- choice=$(echo "$input" | mew -l 10)
+ choice=$(echo "$input" | rofi -dmenu -l 10)
printf '[SELECTION]r/window:%s\n' "$choice"
echo $XDPH_WINDOW_SHARING_LIST > ~/test
}
@@ -12,7 +12,7 @@ get_screen()
{
input="$(hyprctl monitors -j | jq -r '.[].name')"
num="$(cat $input | wc -l)"
- choice=$(echo "$input" | mew)
+ choice=$(echo "$input" | rofi -dmenu)
printf '[SELECTION]r/screen:%s\n' "$choice"
}
@@ -22,7 +22,7 @@ get_region()
printf '[SELECTION]r/region:%s\n' "$choice"
}
-type=$(printf "screen\nwindows\nregion" | mew -p "Choose what to screenshare:")
+type=$(printf "screen\nwindows\nregion" | rofi -dmenu -p "Choose what to screenshare:")
case "$type" in
"screen")