Looks like the subshell for that xinput call is extraneous
This commit is contained in:
parent
b57b1a2d91
commit
a3d3ebc73a
|
@ -4,7 +4,7 @@ maptouchscreen() {
|
||||||
# maptouchscreen <name> <output>
|
# maptouchscreen <name> <output>
|
||||||
local name="$1" # <name> should be a full name from the output of `xinput list`
|
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
|
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() {
|
setpasink() {
|
||||||
|
|
Loading…
Reference in New Issue