scripts/setup_table_sway.sh
2022-04-03 23:53:51 +03:00

13 lines
239 B
Bash

#!/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