dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7a0346d01ae533a2b1dc65df99803612f87c7c7b
parent 62bec93648b7966e1e3862c7fd5a30ec7dd4a7df
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri, 18 Jan 2019 13:20:51 -0500

1 multimon fix

Diffstat:
M.scripts/i3cmds/displayselect | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.scripts/i3cmds/displayselect b/.scripts/i3cmds/displayselect @@ -49,7 +49,7 @@ morescreen() { # If multi-monitor is selected and there are more than two screen multimon() { # Multi-monitor handler. case "$(echo "$screens" | wc -l)" in - 1) xrandr $(echo "$allposs" | awk '{print "--output", $1, "--off"}' | tr '\n' ' ') ;; + 1) xrandr $(echo "$allposs" | grep -v "$screens" | awk '{print "--output", $1, "--off"}' | tr '\n' ' ') ;; 2) twoscreen ;; *) morescreen ;; esac ;}