[PR #783] [MERGED] feat: libinput keys module #7966

Closed
opened 2026-05-23 02:56:17 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/783
Author: @JakeStanger
Created: 11/17/2024
Status: Merged
Merged: 12/27/2024
Merged by: @JakeStanger

Base: masterHead: feat/libinput


📝 Commits (1)

  • ccfe73f feat: libinput keys module

📊 Changes

20 files changed (+798 additions, -106 deletions)

View changed files

📝 .github/scripts/ubuntu_setup.sh (+1 -0)
📝 Cargo.lock (+71 -7)
📝 Cargo.toml (+10 -4)
📝 docs/Compiling.md (+6 -0)
docs/modules/Keys.md (+102 -0)
📝 docs/modules/Music.md (+0 -2)
examples/test.corn (+0 -60)
📝 flake.nix (+2 -0)
📝 nix/default.nix (+4 -1)
📝 shell.nix (+2 -0)
src/clients/libinput.rs (+235 -0)
📝 src/clients/mod.rs (+14 -1)
📝 src/config/mod.rs (+6 -0)
📝 src/gtk_helpers.rs (+6 -0)
📝 src/image/gtk.rs (+67 -13)
📝 src/macros.rs (+22 -2)
📝 src/main.rs (+1 -1)
src/modules/keys.rs (+231 -0)
📝 src/modules/mod.rs (+2 -0)
📝 src/modules/music/mod.rs (+16 -15)

📄 Description

Adds a new module which shows the status of toggle mod keys (capslock, num lock, scroll lock).

Not 100% on the name yet. I want to ensure it's named after something other than libinput, but I'm open to better module names.

TODO:

  • Ideally resolve the fact that all indicators show briefly on init
  • Code tidy
  • Fix CI
    • Ubuntu
    • Nix
  • Docs
    • Module docs
    • Compilation docs (requires libinput & dev)

Resolves #700


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/783 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 11/17/2024 **Status:** ✅ Merged **Merged:** 12/27/2024 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/libinput` --- ### 📝 Commits (1) - [`ccfe73f`](https://github.com/JakeStanger/ironbar/commit/ccfe73f6a78e8a30ae5f58fbb6cfafb39e91faa7) feat: libinput `keys` module ### 📊 Changes **20 files changed** (+798 additions, -106 deletions) <details> <summary>View changed files</summary> 📝 `.github/scripts/ubuntu_setup.sh` (+1 -0) 📝 `Cargo.lock` (+71 -7) 📝 `Cargo.toml` (+10 -4) 📝 `docs/Compiling.md` (+6 -0) ➕ `docs/modules/Keys.md` (+102 -0) 📝 `docs/modules/Music.md` (+0 -2) ➖ `examples/test.corn` (+0 -60) 📝 `flake.nix` (+2 -0) 📝 `nix/default.nix` (+4 -1) 📝 `shell.nix` (+2 -0) ➕ `src/clients/libinput.rs` (+235 -0) 📝 `src/clients/mod.rs` (+14 -1) 📝 `src/config/mod.rs` (+6 -0) 📝 `src/gtk_helpers.rs` (+6 -0) 📝 `src/image/gtk.rs` (+67 -13) 📝 `src/macros.rs` (+22 -2) 📝 `src/main.rs` (+1 -1) ➕ `src/modules/keys.rs` (+231 -0) 📝 `src/modules/mod.rs` (+2 -0) 📝 `src/modules/music/mod.rs` (+16 -15) </details> ### 📄 Description Adds a new module which shows the status of toggle mod keys (capslock, num lock, scroll lock). Not 100% on the name yet. I want to ensure it's named after something other than `libinput`, but I'm open to better module names. TODO: - [x] Ideally resolve the fact that all indicators show briefly on init - [x] Code tidy - [x] Fix CI - [x] Ubuntu - [x] Nix - [x] Docs - [x] Module docs - [x] Compilation docs (requires `libinput` & dev) Resolves #700 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 02:56:17 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#7966
No description provided.