summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-01-20 20:15:03 -0500
committerGitHub <noreply@github.com>2019-01-20 20:15:03 -0500
commit9e2cc975ab66b1344c1c824954c8144728bf2b52 (patch)
tree8097200244705289886d35aa088590f07a162627 /.scripts
parentcb2fab9067b39e65cc9b1cc086886724355b8b38 (diff)
parent713f4812cd01c3021793c6c881377c7122bc52d7 (diff)
downloadeibhear-9e2cc975ab66b1344c1c824954c8144728bf2b52.tar.gz
eibhear-9e2cc975ab66b1344c1c824954c8144728bf2b52.tar.zst
eibhear-9e2cc975ab66b1344c1c824954c8144728bf2b52.zip
Merge pull request #190 from 8bitmcu/master
Unplugged displays not being disabled in displayselect
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/i3cmds/displayselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/i3cmds/displayselect b/.scripts/i3cmds/displayselect
index 84d1855..e526014 100755
--- a/.scripts/i3cmds/displayselect
+++ b/.scripts/i3cmds/displayselect
@@ -65,7 +65,7 @@ chosen=$(printf "%s\\nmulti-monitor\\nmanual selection" "$screens" | dmenu -i -p
case "$chosen" in
"manual selection") arandr ; exit ;;
"multi-monitor") multimon ;;
- *) xrandr --output "$chosen" --auto --scale 1.0x1.0 $(echo "$screens" | grep -v "$chosen" | awk '{print "--output", $1, "--off"}' | tr '\n' ' ') ;;
+ *) xrandr --output "$chosen" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "$chosen" | awk '{print "--output", $1, "--off"}' | tr '\n' ' ') ;;
esac
setbg # Fix background if screen size/arangement has changed.