blob: aa98833a24e8a7020b6efbceaf6ddaf2ff5d8a3c (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/bash
# Get long name
# echo "$(hyprctl devices | grep -A 2 "at-translated-set-2-keyboard" | awk 'NR==3 {print $3" "$4}')"
# Get short name
echo "$(hyprctl devices | grep -A 2 "at-translated-set-2-keyboard" | awk 'NR==3 {print $4}'| grep -Po '(?<=\().*(?=\))' )"
|