Fix waybar keyboard layout display
This commit is contained in:
parent
e17451946f
commit
64566ab5f3
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ in
|
|||
};
|
||||
|
||||
"custom/keyboard-layout" = {
|
||||
exec = "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4";
|
||||
exec = ''${pkgs.sway}/bin/swaymsg -t get_inputs | ${pkgs.jq}/bin/jq -r '.[] | select(.identifier == "36125:40349:splitkb_Kyria_rev1") | .xkb_active_layout_name' '';
|
||||
interval = 30;
|
||||
format = " {}"; # Icon: keyboard
|
||||
# Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
|
|
Loading…
Reference in a new issue