Skip to content

hyprland/workspaces doesnt show workspaces #5341

Open

Description

@pauel3312

Describe the bug
When starting waybar, a workspace label for workspace one appears.
It goes away if you click it and then leave to another workspace. This label seems to be bound to the named workspace 1 (not the numbered workspace like you'd expect).
If you click it, it takes you to workspace name:1, and if you then leave, the only way to make it reappear is to go to that workspace.

No other label ever appears, not for name:2, not for special workspaces, and of course not for any named workspace.

One thing I'll add, focus seems to work correctly, when I focus the numbered workspace 1, the label lights up (according to the focus effect I've set).

To reproduce
Steps to reproduce the behaviour, including a minimal config that triggers it:

Idk I just launched waybar.

[

{
  "output": "eDP-1",
  "layer": "top",
  "position": "top",
  "height":40,
  "margin-top": 0,
  "margin-left": 0,
  "margin-right": 0,
  "margin-bottom": 0,
  "spacing": 8,
  "modules-left": [
    "hyprland/workspaces",
  ],
  "modules-center": [
  ],
  "modules-right": [
  ],
  "hyprland/workspaces": {
}
}
]

Expected behaviour
I expect:
Workspaces to display in the widget
clicks to take me to the correct workspaces
special workspaces to act according to my settings (in config)

Environment

  • Waybar version (waybar --version)
> waybar --version
[2026-09-23 14:44:01.305] [info] no JOURNAL_STREAM, logging to console
Waybar v0.15.0-1019-g3672eee0 (branch 'master')
  • Installed the waybar-git package from the aur.
  • Compositor and version:
Hyprland 0.56.0 built from branch main at commit 3a37b75f651b7f25f68e03ff6cc2b85d403cb633 clean (layout/floating: fix 'move' rule not using the size provided by the 'size' rule ( 16150)).
Date: Sat Sep 12 15:01:08 2026
Tag: v0.56.0-186-g3a37b75f6, commits: 7811

Libraries:
Hyprgraphics: built against 0.5.1, system has 0.5.1
Hyprutils: built against 0.14.2, system has 0.14.2
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.15.0, system has 0.15.0

Version ABI string: 3a37b75f651b7f25f68e03ff6cc2b85d403cb633_aq_0.15_hu_0.14_hg_0.5_hc_0.1_hlg_0.6
no flags were set

Debug output
Run waybar -l debug and paste any relevant output:

pauel@arch-pauel ~/.c/waybar> waybar -l debug
[2026-09-23 14:52:41.086] [info] Hyprland IPC starting
[2026-09-23 14:52:41.086] [debug] Initializing workspaces
[2026-09-23 14:52:41.087] [debug] Initializing persistent workspaces
[2026-09-23 14:52:41.087] [debug] Output eDP-1 mapped (DPMS on), resuming modules
[2026-09-23 14:52:41.087] [debug] GTK widget tree:
window#waybar.background.top.eDP-1..mode-default:dir(ltr)
  decoration:dir(ltr)
  box.horizontal:dir(ltr)
    box.horizontal.modules-left:dir(ltr)
      widget:dir(ltr)
        box#workspaces.horizontal.module:dir(ltr)
    box.horizontal.modules-center:dir(ltr)
    box.horizontal.modules-right:dir(ltr)

[2026-09-23 14:52:41.087] [info] Bar configured (width: 2560, height: 40) for output: eDP-1
[2026-09-23 14:52:41.090] [debug] hyprland IPC received openlayer>>waybar
[2026-09-23 14:52:41.094] [debug] Creating workspace 0
[2026-09-23 14:52:41.095] [debug] Creating workspace 0
[2026-09-23 14:52:41.095] [debug] Creating workspace 0
[2026-09-23 14:52:44.063] [debug] hyprland IPC received activewindow>>kitty,~/.c/waybar
[2026-09-23 14:52:44.063] [debug] hyprland IPC received activewindowv2>>561b65d7b570
[2026-09-23 14:52:44.063] [debug] hyprland IPC received workspace>>1
[2026-09-23 14:52:44.063] [debug] hyprland IPC received workspacev2>>1,1
[2026-09-23 14:52:44.072] [debug] hyprland IPC received activelayout>>hl-virtual-keyboard-fcitx5,French
[2026-09-23 14:52:44.074] [debug] hyprland IPC received activelayout>>hl-virtual-keyboard-fcitx5,French
[2026-09-23 14:52:44.298] [debug] hyprland IPC received activewindow>>kitty,waybar -l debug ~/.c/waybar
[2026-09-23 14:52:44.298] [debug] hyprland IPC received activewindowv2>>561b65ea8440
[2026-09-23 14:52:44.298] [debug] hyprland IPC received workspace>>2
[2026-09-23 14:52:44.298] [debug] hyprland IPC received workspacev2>>2,2
[2026-09-23 14:52:44.302] [debug] hyprland IPC received activelayout>>hl-virtual-keyboard-fcitx5,French
[2026-09-23 14:52:44.304] [debug] hyprland IPC received activelayout>>hl-virtual-keyboard-fcitx5,French

Additional context
This log excerpt was running with the provided minimal config file.
I might look into making a PR for this if I have time, but it's a bit out of my depth.

Activity

  1. hunkyburrito commented on Sep 28, 2026

    @hunkyburrito

    I've also been having this issue. Not sure what's going on :/

    When I use the waybar (0.15.0-3) package from the Arch extra repo it does seem to more or less work like it used to, but I can't get the click to activate feature working anymore.

    Looked closer at the log from waybar -l debug after clicking the "name:1" workspace, leaving, and returning. The following lines seem to highlight the problem imo.

    [2026-09-27 22:19:23.735] [debug] Workspace created: name:1,1
    [2026-09-27 22:19:23.735] [debug] Workspace "name:1" is not bound to an id: stoi
    

    and later

    [2026-09-27 22:19:25.803] [debug] Removing workspace name:1
    [2026-09-27 22:19:25.803] [debug] Workspace "name:1" is not bound to an id: stoi
    

    I do also get spammed with [warning] No workspace with id 0 messages too so maybe that is also related.

    Full Log
    ❯ waybar -l debug
    [2026-09-27 22:18:56.011] [info] no JOURNAL_STREAM, logging to console
    [2026-09-27 22:18:56.047] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config
    [2026-09-27 22:18:56.047] [debug] Found config file: /home/hunky/.config/waybar/config
    [2026-09-27 22:18:56.047] [info] Using configuration file /home/hunky/.config/waybar/config
    [2026-09-27 22:18:56.047] [info] Including resource file: $XDG_CONFIG_HOME/waybar/modules
    [2026-09-27 22:18:56.047] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/modules
    [2026-09-27 22:18:56.047] [debug] Found config file: /home/hunky/.config/waybar/modules
    [2026-09-27 22:18:56.047] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
    [2026-09-27 22:18:56.047] [debug] Found config file: /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.047] [info] Using CSS file /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.048] [debug] Parsing imports for file: /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.048] [debug] Adding file to watch list: /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.048] [debug] Bound ext-idle-notifier-v1 at version 2
    [2026-09-27 22:18:56.049] [info] Discovered appearance 'dark'
    [2026-09-27 22:18:56.065] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style-dark.css
    [2026-09-27 22:18:56.065] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
    [2026-09-27 22:18:56.065] [debug] Found config file: /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.065] [info] Using CSS file /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.065] [debug] Parsing imports for file: /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.065] [debug] Adding file to watch list: /home/hunky/.config/waybar/style.css
    [2026-09-27 22:18:56.065] [debug] Output detection done: DP-3 (LG Electronics LG ULTRAGEAR 012NTAB5C888)
    [2026-09-27 22:18:56.066] [info] Hyprland IPC starting
    [2026-09-27 22:18:56.066] [debug] window-rewrite is not defined or is not an object, using default rules.
    [2026-09-27 22:18:56.066] [debug] Initializing workspaces
    [2026-09-27 22:18:56.067] [debug] Initializing persistent workspaces
    [2026-09-27 22:18:56.068] [warning] No workspace with id 0
    [2026-09-27 22:18:56.069] [debug] [wireplumber]: preparing object manager: 'Audio/Sink'
    [2026-09-27 22:18:56.069] [debug] [wireplumber]: connecting to pipewire: 'Audio/Sink'...
    [2026-09-27 22:18:56.069] [debug] [wireplumber]: Audio/Sink connected!
    [2026-09-27 22:18:56.069] [debug] [wireplumber]: loading default nodes api module
    [2026-09-27 22:18:56.070] [info] Tray: No ignore-list configured
    [2026-09-27 22:18:56.072] [debug] Cmd exited with code 0
    [2026-09-27 22:18:56.073] [debug] Output DP-3 mapped (DPMS on), resuming modules
    [2026-09-27 22:18:56.073] [debug] GTK widget tree:
    window#waybar.background.top.empty.DP-3.primary.mode-dock:dir(ltr)
      decoration:dir(ltr)
      box.horizontal:dir(ltr)
        box.horizontal.modules-left:dir(ltr)
          widget:dir(ltr)
            box#custom-logo.horizontal.module:dir(ltr)
              image:dir(ltr)
              label:dir(ltr)
          widget:dir(ltr)
            box#workspaces.horizontal.module:dir(ltr)
          widget:dir(ltr)
            label#mpris.module:dir(ltr)
        box.horizontal.modules-center:dir(ltr)
          widget:dir(ltr)
            box#window.horizontal.module:dir(ltr)
              image:dir(ltr)
              label:dir(ltr)
        box.horizontal.modules-right:dir(ltr)
          widget:dir(ltr)
            label#idle_inhibitor.module:dir(ltr)
          widget:dir(ltr)
            box#hw.horizontal:dir(ltr)
              widget:dir(ltr)
                label#cpu.module:dir(ltr)
              widget:dir(ltr)
                label#memory.module:dir(ltr)
              widget:dir(ltr)
                label#temperature.module:dir(ltr)
          widget:dir(ltr)
            label#wireplumber.module:dir(ltr)
          widget:dir(ltr)
            label#clock.module:dir(ltr)
          widget:dir(ltr)
            box#tray.horizontal.module:dir(ltr)
          widget:dir(ltr)
            box#custom-notifs.horizontal.module:dir(ltr)
              image:dir(ltr)
              label:dir(ltr)
          widget:dir(ltr)
            box#power.horizontal:dir(ltr)
              revealer.drawer:dir(ltr)
                box.horizontal:dir(ltr)
                  widget.not-power:dir(ltr)
                    box#custom-suspend.horizontal.module:dir(ltr)
                      image:dir(ltr)
                      label:dir(ltr)
                  widget.not-power:dir(ltr)
                    box#custom-reboot.horizontal.module:dir(ltr)
                      image:dir(ltr)
                      label:dir(ltr)
                  widget.not-power:dir(ltr)
                    box#custom-hibernate.horizontal.module:dir(ltr)
                      image:dir(ltr)
                      label:dir(ltr)
              widget:dir(ltr)
                box#custom-shutdown.horizontal.module:dir(ltr)
                  image:dir(ltr)
                  label:dir(ltr)
    
    [2026-09-27 22:18:56.075] [warning] No workspace with id 0
    [2026-09-27 22:18:56.175] [debug] Creating workspace 0
    [2026-09-27 22:18:56.175] [debug] Creating workspace 0
    [2026-09-27 22:18:56.176] [info] Host: Found 0 pre-registered SNI items
    [2026-09-27 22:18:56.176] [debug] Received SIGCHLD in signalThread
    [2026-09-27 22:18:56.177] [info] Host::itemRegistered called with service: :1.431/org/ayatana/NotificationItem/nm_applet
    [2026-09-27 22:18:56.177] [debug] SNI item registered: bus_name=:1.431, object_path=/org/ayatana/NotificationItem/nm_applet, full_service=:1.431/org/ayatana/NotificationItem/nm_applet
    [2026-09-27 22:18:56.177] [debug] Adding SNI item: :1.431
    [2026-09-27 22:18:56.177] [info] Host::itemRegistered called with service: :1.439/org/ayatana/NotificationItem/gammastep
    [2026-09-27 22:18:56.177] [debug] SNI item registered: bus_name=:1.439, object_path=/org/ayatana/NotificationItem/gammastep, full_service=:1.439/org/ayatana/NotificationItem/gammastep
    [2026-09-27 22:18:56.177] [debug] Adding SNI item: :1.439
    [2026-09-27 22:18:56.177] [debug] hyprland IPC received openlayer>>primary
    [2026-09-27 22:18:56.177] [debug] Ignoring duplicate Status Notifier Item registration for ':1.439' at '/org/ayatana/NotificationItem/gammastep'
    [2026-09-27 22:18:56.177] [debug] Ignoring duplicate Status Notifier Item registration for ':1.431' at '/org/ayatana/NotificationItem/nm_applet'
    [2026-09-27 22:18:56.178] [debug] SNI tray id: nm-applet
    [2026-09-27 22:18:56.192] [info] Tray::onAdd - item bus_name=':1.431', category='SystemServices', icon_name='nm-device-wired-secure', title='Network'
    [2026-09-27 22:18:56.192] [debug] Tray::onAdd deferred check - checking ignore list
    [2026-09-27 22:18:56.192] [debug] Host::checkIgnoreList - checking 2 items against 0 patterns
    [2026-09-27 22:18:56.192] [debug]   Checking item: bus_name=':1.431', category='SystemServices', icon_name='nm-device-wired-secure', title='Network'
    [2026-09-27 22:18:56.192] [debug]   Checking item: bus_name=':1.439', category='', icon_name='', title=''
    [2026-09-27 22:18:56.192] [debug] SNI tray id: gammastep
    [2026-09-27 22:18:56.193] [info] Tray::onAdd - item bus_name=':1.439', category='ApplicationStatus', icon_name='gammastep-status-on', title='gammastep-indicator'
    [2026-09-27 22:18:56.193] [debug] Tray::onAdd deferred check - checking ignore list
    [2026-09-27 22:18:56.193] [debug] Host::checkIgnoreList - checking 2 items against 0 patterns
    [2026-09-27 22:18:56.193] [debug]   Checking item: bus_name=':1.431', category='SystemServices', icon_name='nm-device-wired-secure', title='Network'
    [2026-09-27 22:18:56.193] [debug]   Checking item: bus_name=':1.439', category='ApplicationStatus', icon_name='gammastep-status-on', title='gammastep-indicator'
    [2026-09-27 22:18:56.193] [debug] Received SIGCHLD in signalThread
    [2026-09-27 22:18:56.202] [debug] [wireplumber]: callback loading default node api module
    [2026-09-27 22:18:56.202] [debug] [wireplumber]: loaded default nodes api
    [2026-09-27 22:18:56.202] [debug] [wireplumber]: loading mixer api module
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: loaded mixer API
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: activating plugins
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: onPluginActivated: mixer-api
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: onPluginActivated: default-nodes-api
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: onObjectManagerInstalled
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: (onObjectManagerInstalled: Audio/Sink) - default configured node name: alsa_output.pci-0000_18_00.6.analog-stereo and id: 88
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: updating volume
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: updating 'Audio/Sink' node name with node.id 88
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: Updating 'Audio/Sink' node name to: ALC897 Analog
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: 'Audio/Sink' device.id is 80
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: updating source volume
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: updating source name with node.id 93
    [2026-09-27 22:18:56.204] [debug] [wireplumber]: Updating source name to: Arctis Nova 7P
    [2026-09-27 22:19:21.016] [debug] hyprland IPC received activewindow>>librewolf,hyprland/workspaces doesnt show workspaces · Issue #5341 · Alexays/Waybar — Original profile — LibreWolf
    [2026-09-27 22:19:21.016] [debug] hyprland IPC received activewindowv2>>563ac72f2080
    [2026-09-27 22:19:21.016] [warning] No workspace with id 0
    [2026-09-27 22:19:23.734] [info] Hyprland IPC: detected Lua-based dispatch protocol
    [2026-09-27 22:19:23.735] [debug] hyprland IPC received createworkspace>>1
    [2026-09-27 22:19:23.735] [debug] hyprland IPC received createworkspacev2>>name:1,1
    [2026-09-27 22:19:23.735] [debug] Workspace created: name:1,1
    [2026-09-27 22:19:23.735] [debug] Workspace "name:1" is not bound to an id: stoi
    [2026-09-27 22:19:23.735] [debug] hyprland IPC received activewindow>>,
    [2026-09-27 22:19:23.735] [debug] hyprland IPC received activewindowv2>>
    [2026-09-27 22:19:23.735] [debug] hyprland IPC received workspace>>1
    [2026-09-27 22:19:23.735] [debug] hyprland IPC received workspacev2>>name:1,1
    [2026-09-27 22:19:23.735] [debug] Workspace "name:1" is not bound to an id: stoi
    [2026-09-27 22:19:23.735] [warning] No workspace with id 0
    [2026-09-27 22:19:25.796] [debug] hyprland IPC received activewindow>>foot,foot
    [2026-09-27 22:19:25.796] [debug] hyprland IPC received activewindowv2>>563ac73074c0
    [2026-09-27 22:19:25.796] [debug] hyprland IPC received workspace>>1
    [2026-09-27 22:19:25.796] [debug] hyprland IPC received workspacev2>>1,1
    [2026-09-27 22:19:25.796] [debug] hyprland IPC received destroyworkspace>>1
    [2026-09-27 22:19:25.796] [debug] hyprland IPC received destroyworkspacev2>>name:1,1
    [2026-09-27 22:19:25.796] [warning] No workspace with id 0
    [2026-09-27 22:19:25.803] [debug] Removing workspace name:1
    [2026-09-27 22:19:25.803] [debug] Workspace "name:1" is not bound to an id: stoi
    [2026-09-27 22:19:26.200] [debug] Received SIGCHLD in signalThread
    [2026-09-27 22:19:26.202] [debug] Received SIGCHLD in signalThread
    [2026-09-27 22:19:27.357] [debug] hyprland IPC received activewindow>>librewolf,hyprland/workspaces doesnt show workspaces · Issue #5341 · Alexays/Waybar — Original profile — LibreWolf
    [2026-09-27 22:19:27.357] [debug] hyprland IPC received activewindowv2>>563ac72f2080
    [2026-09-27 22:19:27.357] [debug] hyprland IPC received workspace>>2
    [2026-09-27 22:19:27.357] [debug] hyprland IPC received workspacev2>>2,2
    [2026-09-27 22:19:27.357] [warning] No workspace with id 0
    [2026-09-27 22:19:27.958] [debug] hyprland IPC received activewindow>>foot,foot
    [2026-09-27 22:19:27.958] [debug] hyprland IPC received activewindowv2>>563ac7338020
    [2026-09-27 22:19:27.958] [warning] No workspace with id 0
    [2026-09-27 22:19:47.026] [debug] hyprland IPC received activewindow>>librewolf,hyprland/workspaces doesnt show workspaces · Issue #5341 · Alexays/Waybar — Original profile — LibreWolf
    [2026-09-27 22:19:47.027] [debug] hyprland IPC received activewindowv2>>563ac72f2080
    [2026-09-27 22:19:47.027] [warning] No workspace with id 0
    [2026-09-27 22:21:08.904] [debug] Received SIGCHLD in signalThread
    [2026-09-27 22:22:11.922] [debug] Received SIGCHLD in signalThread
    [2026-09-27 22:22:54.914] [debug] Received SIGCHLD in signalThread
    
  2. hunkyburrito commented on Oct 3, 2026

    @hunkyburrito

    Welp, I probably should have looked more for related issues and hyprland's breaking changes tracker.

    hyprwm/Hyprland#8424 (comment)
    #5316

    Everything is working fine again after updating my hypr* stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions