scripts/setup_table_sway.sh

13 lines
239 B
Bash
Raw Normal View History

#!/bin/sh
# Get inputs
# swaymsg -t get_inputs
# Get ouputs
# swaymsg -t get_outputs
PAD_ID="9580:110:HID_256c:006e_Pad"
OUTPUT="DP-2"
echo "swaymsg 'input $PAD_ID map_to_output $OUTPUT'"
swaymsg 'input '$PAD_ID' map_to_output '$OUTPUT