From 64dc44f819119d31485d776e9c371f1ed12d07f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 21 Mar 2017 22:35:58 +0100 Subject: Fix ncmpcpp start by i3blocks and xrandr name --- local/bin/mxrandr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'local') 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 -- cgit v1.2.3