From 0307a93e790e9e6ad7247429574a43730e7c82ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 23 Jun 2021 09:05:23 +0300 Subject: updisplay script now POSIX-compatible --- dotfiles/.local/bin/updisplay | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dotfiles/.local/bin/updisplay') diff --git a/dotfiles/.local/bin/updisplay b/dotfiles/.local/bin/updisplay index e9a7f69..4bd27af 100755 --- a/dotfiles/.local/bin/updisplay +++ b/dotfiles/.local/bin/updisplay @@ -1,6 +1,7 @@ #!/bin/sh -IFS=$'\n' +IFS=' +' outputcf=$(grep '^output .*$' ~/.config/sway/$(uname -n)) for line in $outputcf; do -- cgit v1.2.3