Open
Description
Describe the bug
Waybar does not indicate the active workspace if there are more than 1 window opened in it and that the focused window is not the one that was focused at the moment of launching hyprland-autoname-workspaces.
Program version?
1.1.9
Program configuration dump? (ideally)
{
"version": "1.1.9",
"class": {
"WebCord": "",
"qutepreview": "",
"wire": "",
"krita": "",
"libreoffice-impress": "",
"mpv": "",
"neomutt": "",
"taskwarrior-tui": "",
"chromium": "",
".*transmission.*": "",
"Gimp-2.10": "",
"vlc": "",
"rapid-photo-downloader": "",
"work": "",
"zoom": "",
"kitty": "",
"nm-connection-editor": "",
"kicad": "",
"shopping": "",
"nemo": "",
"spotify": "",
"wayvnc": "",
"libreoffice-startcenter": "",
"sandboxed-tor-browser": "",
"swappy": "",
"discord": "",
"obsidian": "",
"xplr": "",
"firefox": "",
"songrec": "",
"scli": "",
"Signal": "",
"plexamp": "",
"steam": "",
"paperwork": "",
"caprine": "",
"virt-manager": "",
"libreoffice-calc": "",
"udiskie": "",
"telegramdesktop": "",
"org-qutebrowser-qutebrowser": "",
"DEFAULT": "",
"org-pwmt-zathura": "",
"whatsapp-desktop": "",
"streamlink-twitch-gui": "",
"vimiv": "",
"slack": "",
"org.pwmt.zathura": "",
"remote-viewer": "",
"com.obsproject.Studio": "",
"sun-awt-x11-xframepeer": "",
"@Joplin/app-desktop": "",
"code-oss": "",
"pavucontrol": "",
"libreoffice-writer": "",
"thunar": "",
"wlfreerdp": "",
"wireshark-gtk": "",
"eeschema": "",
"personal": "",
"org-ksnip-ksnip": "",
"org-telegram-desktop": "",
"whatsapp-nativefier-d52542": "",
"snappergui": "",
"vncviewer": "",
"molotov": ""
},
"class_active": {},
"initial_class": {},
"initial_class_active": {},
"workspaces_name": {},
"title_in_class": {},
"title_in_class_active": {},
"title_in_initial_class": {},
"title_in_initial_class_active": {},
"initial_title_in_class": {},
"initial_title_in_class_active": {},
"initial_title_in_initial_class": {},
"initial_title_in_initial_class_active": {},
"exclude": {},
"format": {
"dedup": true,
"dedup_inactive_fullscreen": false,
"delim": " ",
"workspace": "{id}:{delim}{clients}",
"workspace_empty": "{id}",
"client": "{icon}{delim}",
"client_fullscreen": "[{icon}]{delim}",
"client_active": "{icon}",
"client_dup": "{icon}{counter_sup}{delim}",
"client_dup_active": "*{icon}*{delim}{icon}{counter_unfocused_sup}",
"client_dup_fullscreen": "[{icon}]{delim}{icon}{counter_unfocused_sup}"
}
}
To Reproduce
Steps to reproduce the behavior:
- Launch a Waybar config with
hyprland/workspaces
- Open 2 different windows on the same workspace, one of them being a terminal
- Launch
hyprland-autoname-workspaces
in said terminal - The workspace appears to be focused in Waybar
- Focus the other window in that workspace
- Waybar does not highlight the current workspace as being active
Expected behavior
The active workspace should be highlighted no matter the focused window within it.
Linux Distro (please complete the following information):
Arch