Keyboard layout indicator for Sway WM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hexawolf 7c24690070
9 months ago
include Handle SIGINT (ctrl-C) 10 months ago
.gitignore Handle SIGINT (ctrl-C) 10 months ago
LICENSE Initial commit 10 months ago Tweaks and improvements 10 months ago
ipc-client.c Tweaks and improvements 10 months ago
main.c Fix format warning 10 months ago bump 9 months ago


swaylay is a layout indicator for sway.


Usage swaylay [options] [identifier]

  -h, --help             Show help message and quit.
  -s, --socket <socket>  Use the specified socket.
  -v, --version          Show the version number and quit.

Default identifier is 1:1:AT_Translated_Set_2_keyboard.


Install dependencies:

  • git, meson, ninja *
  • json-c
  • sway

*Compile-time deps

Run these commands:

$ meson build
$ ninja -C build
$ sudo ninja -C build install


This code is licensed under MIT license. See LICENSE for more information.

This code is heavily based on swaymsg and other sway parts, made by Drew DeVault.