Looks like the subshell for that xinput call is extraneous

This commit is contained in:
David Thurstenson 2017-03-28 08:25:46 -05:00
parent b57b1a2d91
commit a3d3ebc73a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ maptouchscreen() {
# maptouchscreen <name> <output>
local name="$1" # <name> should be a full name from the output of `xinput list`
local output="$2" # <output> should be an xrandr output name
xinput --map-to-output $(xinput list --id-only "$name") "$output"
xinput --map-to-output "$name" "$output"
}
setpasink() {