Skip to content

Repository files navigation

Niri Layout Indicator

screenshot screenshot screenshot

Keyboard layout indicator and switcher for Noctalia Shell on niri.

Built for niri + Noctalia Shell on Wayland.


✨ Features

  • Displays current keyboard layout (en, ru, etc. or flags)
  • Switch layout with mouse:
    • Left click - next layout
    • Middle click - previous layout (or toggle display mode)
    • Right click - context menu
  • Context menu:
    • Select layout directly
    • Toggle display mode (text / flag)
    • Change middle-click behavior
    • Open plugin settings
  • Native Noctalia look and feel

🌍 Translations

  • English (default)
  • Russian

⚙️ Requirements

  • niri
  • Noctalia Shell

Installation

Option 1: Noctalia Plugin Store

Once available in the Noctalia Plugin Store:

  1. Open Noctalia Settings.
  2. Go to Plugins.
  3. Search for Niri Layout Indicator.
  4. Press Install.
  5. Add the widget to your bar.

Option 2: Manual install

git clone https://github.com/alnrog/niri-layout-indicator.git
cd niri-layout-indicator
./install.sh

🖱 Controls

Action Result
Left click Next layout
Middle click Previous layout / toggle
Right click Open context menu

🧠 Notes

  • Layout names are parsed from:
niri msg keyboard-layouts
  • Language codes and flags are mapped manually
  • Unknown layouts fall back to a generic 2-letter code

🚧 Future improvements

  • Reactive updates (no polling)
  • Custom layout mapping
  • SVG flags
  • Translations

📄 License

MIT


About

Keyboard layout indicator and switcher for Noctalia Shell on niri.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages