Correct monitor offset
This commit is contained in:
parent
b1b03f678d
commit
a2f7b04ab8
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Get monitor offset using xrandr
|
# Get monitor offset using xrandr
|
||||||
monitor_offset="1920+0"
|
monitor_offset="+1080"
|
||||||
display=$(xrandr --listactivemonitors | grep "$monitor_offset" | head -n1 | cut -d' ' -f6)
|
display=$(xrandr --listactivemonitors | grep "$monitor_offset" | head -n1 | cut -d' ' -f6)
|
||||||
|
|
||||||
if [ -n "$display" ]; then
|
if [ -n "$display" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user