#!/bin/bash maptouchscreen() { # maptouchscreen local name="$1" # should be a full name from the output of `xinput list` local output="$2" # should be an xrandr output name xinput --map-to-output "$name" "$output" } setpasink() { # setpasink # Find a unique string in the output of `pacmd list short` to use for pacmd set-default-sink "$(pactl list sinks short | grep "$1" | grep -o "^\S\+")" } # shellcheck source=/dev/null source ~/.config/srandrd.d/"$(hostname)".conf