13 lines
239 B
Bash
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
|