aboutsummaryrefslogtreecommitdiff
path: root/local/bin
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-03-21 22:35:58 +0100
committerKarel Kočí <cynerd@email.cz>2017-03-21 22:35:58 +0100
commit64dc44f819119d31485d776e9c371f1ed12d07f6 (patch)
treebbbfe2958a6d4547e74a9e66ef9bb8a48775716b /local/bin
parentec71cdf84cf4c2d38f42fef698e84ae1f2803e71 (diff)
downloadmyconfigs-64dc44f819119d31485d776e9c371f1ed12d07f6.tar.gz
myconfigs-64dc44f819119d31485d776e9c371f1ed12d07f6.tar.bz2
myconfigs-64dc44f819119d31485d776e9c371f1ed12d07f6.zip
Fix ncmpcpp start by i3blocks and xrandr name
Diffstat (limited to 'local/bin')
-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