Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

vyamkovyi/swaylay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swaylay

swaylay is a layout indicator for sway.

Note that Waybar has this implemented already.

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.