dotfiles

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

commit 58dcdd43780f4613cc99131f9d364270a2719389
parent 8e81c30a5d4284aec0542ab36712f8d8b3dc1e2c
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 16 Sep 2018 13:55:23 -0400

more posix compliant autism

Diffstat:
M.scripts/displayselect | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.scripts/displayselect b/.scripts/displayselect @@ -1,8 +1,6 @@ #!/bin/sh -choices="laptop\nlaptopdual\nVGA\nHDMI\nManual selection" - -chosen=$(echo -e "$choices" | dmenu -i) +chosen=$(printf "laptop\\nlaptopdual\\nVGA\\nHDMI\\nManual selection" | dmenu -i) case "$chosen" in laptopdual) xrandr --output LVDS-1 --auto --output VGA-1 --auto --right-of LVDS-1 ;; @@ -13,4 +11,4 @@ case "$chosen" in esac # Relaunch polybar if there was a selection. -[ "$chosen" == "" ] || polybar_launch +[ "$chosen" = "" ] || polybar_launch