aboutsummaryrefslogblamecommitdiff
path: root/.config/eww/scripts/keyboardlayout.sh
blob: 50acfdd7e5526799d107c26cbb30adecde29d85f (plain) (tree)
1
2
3
4
5
6
7
8
                   




                                                                                                    
                                                                                                                            
 
#!/usr/bin/env 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 '(?<=\().*(?=\))' )"