hyprland-community / hyprland-autoname-workspaces

Hyprland autoname workspaces 🪟 [maintainers=@cyrinux,@maximbaz]
ISC License
199 stars 7 forks source link

[BUG] Opening a new workspace does not display it in waybar #104

Open ehula opened 10 months ago

ehula commented 10 months ago

If I go to a workspace that does not yet exist and therefore is not displayed in waybar, it does not show that workspace in waybar. If I restart waybar, then the newly opened workspace is correctly shown.

Program configuration dump? (ideally) { "version": "1.1.11", "class": { "(?i)joplin": "J", "(?i)librewolf": "", "(?i)deemix": "d", "(?i)discord": "󰙯", "(?i)teams-for-linux": "󰊻", "(?i)retroarch": "󰊖", "(?i)freetube": "", "(?i)signal": "󰭹", "(?i)kitty": "", "(?i)qutebrowser": "󰖟", "(?i)jellyfin": "", "(?i)mpv": "", "(?i)pcmanfm": "", "(?i)thunderbird": "󰇮", "DEFAULT": "{class}" }, "class_active": { "DEFAULT": "{icon}" }, "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": { "(?i)rofi": "." }, "format": { "dedup": false, "dedup_inactive_fullscreen": false, "delim": " ", "workspace": "{id}:{delim}{clients}", "workspace_empty": "{id}: -", "client": "{icon}{delim}", "client_fullscreen": "[{icon}]", "client_active": "{icon}", "client_dup": "{icon}{counter_sup}", "client_dup_active": "{icon}*{delim}{icon}{counter_unfocused_sup}", "client_dup_fullscreen": "[{icon}]{delim}{icon}{counter_unfocused_sup}" } }

To Reproduce

  1. Observe which workplaces are currently being used and displayed in waybar.
  2. Switch to a workspace not being used.
  3. The new blank workspace will not be displayed in waybar.
  4. If it is displayed, switch back to another workspace, then return to the new one. Eventually, it will not display in waybar.

Expected behavior When switching to a new workspace, it should be displayed in waybar.

Linux Distro (please complete the following information): NixOS

cyrinux commented 10 months ago

Hi,

Thanks for the report 🙂

I will check this as soon I can update my hyprland on arm64. I'm sadly stuck on an old version right now.

Please be patient.

mihneaCR commented 8 months ago

Experiencing the same issue, runnning Arch and Artix, with hyprland 0.34.0 and waybar 0.9.24.

TerryQuiet commented 4 months ago

I have something similar if not the same, if moving existing window into another empty workspace it will eventually not show up in waybar. But if i open new windows in new workspace it works fine every-time.