startw/conf/config/scripts/status/layout
2020-04-05 21:19:19 +02:00

3 lines
84 B
Bash
Executable File

#!/bin/sh
swaymsg -t get_inputs | jq '.[0].xkb_active_layout_name' | cut -d '"' -f2