aboutsummaryrefslogtreecommitdiff
path: root/local/bin/mxrandr
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-02-01 22:25:30 +0100
committerKarel Kočí <cynerd@email.cz>2018-02-01 22:25:30 +0100
commitbd3ebf8a0e43257e1a7ba25efa0bdddf3c7ec9d3 (patch)
tree116c58989d091d1785ea55201a83170b2e053ebd /local/bin/mxrandr
parent7f412205d50c2fc4c38abdf90682ac1bfcf2894e (diff)
downloadmyconfigs-bd3ebf8a0e43257e1a7ba25efa0bdddf3c7ec9d3.tar.gz
myconfigs-bd3ebf8a0e43257e1a7ba25efa0bdddf3c7ec9d3.tar.bz2
myconfigs-bd3ebf8a0e43257e1a7ba25efa0bdddf3c7ec9d3.zip
Once again dashes in mxrandr
I am back on consolekit.
Diffstat (limited to 'local/bin/mxrandr')
-rwxr-xr-xlocal/bin/mxrandr6
1 files changed, 3 insertions, 3 deletions
diff --git a/local/bin/mxrandr b/local/bin/mxrandr
index 7c51128..81ae511 100755
--- a/local/bin/mxrandr
+++ b/local/bin/mxrandr
@@ -8,9 +8,9 @@ disconnectedOutputs=$(xrandr | grep -E " disconnected (primary )?[1-9]+" | awk '
cmd="xrandr "
cmd_def=$cmd
-INTERNAL=eDP1
-HDMI=HDMI1
-VGA=VGA1
+INTERNAL=eDP-1
+HDMI=HDMI-1
+VGA=VGA-1
for device in "$disconnectedOutputs"; do
if [ -n "$defice" ]; then