1
0
Fork 0

idk, something has changed

This commit is contained in:
Arthur Khachaturov 2024-07-20 01:39:49 +03:00
parent ffe452fe24
commit ed190866f5
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
28 changed files with 94 additions and 2179 deletions

View file

@ -19,7 +19,7 @@ remove() {
}
create_or_remove() {
if [ ! -z "$(xrandr | grep ${RES} | grep '*')" ]; then
if xrandr --listactivemonitors | grep -q "${OUTPUT}"; then
remove
else
create