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
bump
3 months ago
include Handle SIGINT (ctrl-C) 4 months ago
.gitignore Handle SIGINT (ctrl-C) 4 months ago
LICENSE Initial commit 4 months ago
README.md Tweaks and improvements 4 months ago
ipc-client.c Tweaks and improvements 4 months ago
main.c Fix format warning 4 months ago
meson.build bump 3 months ago

README.md

swaylay

swaylay is a layout indicator for sway.

Usage

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.

Building

Install dependencies:

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

*Compile-time deps

Run these commands:

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

License

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.