1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

feat(dmenurandr): make only screen the primary screen

This commit is contained in:
Kierán Meinhardt
2020-09-15 16:21:52 +02:00
parent 404d8a81b4
commit 46cf80a54c

View File

@@ -64,7 +64,7 @@ multimon() {
# If only one output available or chosen.
onescreen() {
xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ')
xrandr --output "$1" --auto --primary --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ')
}
# Get all possible displays