diff options
Diffstat (limited to 'local/bin/wlr-select-screen')
-rwxr-xr-x | local/bin/wlr-select-screen | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/local/bin/wlr-select-screen b/local/bin/wlr-select-screen new file mode 100755 index 0000000..9eedeb4 --- /dev/null +++ b/local/bin/wlr-select-screen @@ -0,0 +1,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 |