aboutsummaryrefslogtreecommitdiff
path: root/local/bin/wlr-select-screen
blob: 9eedeb48b03a7d971a0633d195709b1262969ec7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu

screens="$(cat)"
if [ "$(echo "$screens" | wc -l)" -gt 1 ]; then
	echo "$screens" | wofi -d -p "Select screen to share"
else
	echo "$screens"
fi