Add "hyprctl submap --current/--list" so bars can restore submap state #12277
Unanswered
dillacorn
asked this question in
Feature requests - Window management
Replies: 1 comment
-
|
I was able to solve this with a custom/hypr-submap in waybar config. It's not instantaneous but so much better than before. https://github.com/dillacorn/awtarchy/blob/main/config/hypr/hyprland.conf https://github.com/dillacorn/awtarchy/blob/main/config/waybar/config I don't want to mark as solved because it's technically slower than if hyprland had a command such as "hyprctl submap --print-current" or however vaxry would prefer it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Request:
Add a command such as:
hyprctl submap --currentto print the active submapand/or
hyprctl submap --listto show known submapsWhy:
Waybar’s
hyprland/submapmodule only reacts to live events. When Waybar is restarted (hypridle turns it off, or I reload it), it has no way to ask Hyprland “which submap are you in right now?”, so the indicator is empty/wrong.Examples:
I restart Waybar with:
I also move the bar top/bottom, which restarts Waybar:
Both cases lose the submap indicator. A callable
hyprctl submap --currentwould let bars restore it on startup without custom scripts.Beta Was this translation helpful? Give feedback.
All reactions