diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-06-23 09:05:23 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-06-23 09:05:23 +0300 |
commit | 0307a93e790e9e6ad7247429574a43730e7c82ce (patch) | |
tree | 0c03dc182de1e75fd4580050a22fed3e34d3afa5 | |
parent | aa83e1e05381dde8400d3748f5b6dd0dca5f09a8 (diff) | |
download | swayrice-0307a93e790e9e6ad7247429574a43730e7c82ce.tar.gz swayrice-0307a93e790e9e6ad7247429574a43730e7c82ce.zip |
updisplay script now POSIX-compatible
-rwxr-xr-x | dotfiles/.local/bin/updisplay | 3 |
1 files changed, 2 insertions, 1 deletions
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 |