dot_testing/builds/utils/sh/statuswrap

13 lines
218 B
Plaintext
Raw Normal View History

2024-01-15 03:52:45 -06:00
#!/bin/sh
geos=$(
xrandr | \
grep ' connected' | \
grep -o '[0-9]*x[0-9]*+[0-9]*+[0-9]*' | \
awk -F'[x+]' '{print $1 "x20+" $3 "+" $4}'
)
for i in $geos; do
st -c statusbar -p -g "$i" -e statusbar & disown
done