mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 10:15:20 +01:00
[GH-ISSUE #575] Language/keyboard layout module #185
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @madfanat on GitHub (May 8, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/575
Request
It would be great to have a built-in module similar to Waybar’s "sway/language" or "hyprland/language".
@JakeStanger commented on GitHub (May 9, 2024):
Could you expand on the request please, as I don't have the context on what Waybar's module does, or what you potentially want this one to do differently?
@madfanat commented on GitHub (May 9, 2024):
Well, shortly, the main feature of both these modules is the display of the current keyboard layout/language (qwerty, dvorak, ENG, RUS, etc whatever you want). Also, it’s nice to have a popup box with these settings.
@yavko commented on GitHub (May 9, 2024):
For hyprland I think the layoutchanged event in hyprland-rs can be used, but I'm not totally sure
@JakeStanger commented on GitHub (May 9, 2024):
Is there any standardised protocol/service this should be using, or is it down to the compositor to expose over its IPC?
@yavko commented on GitHub (May 9, 2024):
I'm pretty sure it's compositor specific
@bluebyt commented on GitHub (Jun 1, 2024):
I tried to do a script for Ironbar to do that, I can change the current layout with this command:
But I cannot get the current layout like explained in this tread:
https://github.com/hyprwm/Hyprland/discussions/2616
@quietvoid commented on GitHub (Nov 24, 2024):
I'm using a
scriptmodule for this in Sway but it doesn't seem possible for the layout to update automatically without having to set a low interval.Looks something like this