Skip to content

[hyprland/workspaces] duplicate workspace buttons/labes #3912

Open
@icsboyx

Description

@icsboyx

Hi to all

Image

all persistent workspace buttons are duplicated.

waybar --version
Waybar v0.11.0
hyprctl version
Hyprland 0.47.1 built from branch  at commit 75dff7205f6d2bd437abfb4196f700abee92581a  (version: bump to 0.47.1).
Date: Wed Jan 29 23:19:39 2025
Tag: v0.47.1, commits: 5756
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags are set

In hyprland I have this config for workspace

workspace = 1, monitor:DP-4, persistent:true, default:true, # defaultName:Left
workspace = 2, monitor:DP-5, persistent:true, default:true, # defaultName:Center
workspace = 3, monitor:DP-6, persistent:true, default:true, # defaultName:Right

workspace = name:Discord, monitor:DP-6, persistent:true
workspace = name:Obs, monitor:DP-6, persistent:true

windowrule= workspace name:Discord, ^.*(discord).*$
windowrule= workspace name:Obs, ^.*(obs).*$

waybar config for [hyprland/workspaces] is default one

"modules-left": ["hyprland/workspaces"],
  "modules-center": ["hyprland/window"],
  "modules-right": [
    "idle_inhibitor",
    "pulseaudio",
    "network",
    "cpu",
    "memory",
    "temperature#CPU",
    "temperature#MB",
    "backlight",
    "keyboard-state",
    "hyprland/language",
    "battery",
    "clock",
    "tray",
    "custom/power"
  ],
  // Modules configuration
  "hyprland/workspaces": {},
  "keyboard-state": {
    "numlock": true,
    "capslock": true,
    "format": "{name} {icon}",
    "format-icons": {
      "locked": "",
      "unlocked": ""
    }
  },

logs form waybar:

[2025-01-31 12:53:42.563] [info] Using configuration file /home/icsboyx/.config/waybar/config
[2025-01-31 12:53:42.564] [info] Discovered appearance 'dark'
[2025-01-31 12:53:42.564] [info] Using CSS file /home/icsboyx/.config/waybar/style.css
[2025-01-31 12:53:42.575] [info] Hyprland IPC starting
[2025-01-31 12:53:42.576] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-01-31 12:53:42.577] [warning] module backlight: Disabling module "backlight", No backlight found
[2025-01-31 12:53:42.577] [info] Found device Logitech USB Keyboard at '/dev/input/event5'
[2025-01-31 12:53:42.947] [warning] No batteries.
[2025-01-31 12:53:42.958] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-01-31 12:53:42.959] [warning] module backlight: Disabling module "backlight", No backlight found
[2025-01-31 12:53:42.959] [info] Found device Logitech USB Keyboard at '/dev/input/event5'
[2025-01-31 12:53:43.317] [warning] No batteries.
[2025-01-31 12:53:43.318] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-01-31 12:53:43.334] [warning] module backlight: Disabling module "backlight", No backlight found
[2025-01-31 12:53:43.334] [info] Found device Logitech USB Keyboard at '/dev/input/event5'
[2025-01-31 12:53:43.679] [warning] No batteries.

** (waybar:4863): WARNING **: 12:53:43.926: Status Notifier Item with bus name ':1.14' and object path '/org/ayatana/NotificationItem/nm_applet' is already registered
[2025-01-31 12:53:44.166] [info] Bar configured (width: 1920, height: 35) for output: DP-4
[2025-01-31 12:53:44.167] [info] Bar configured (width: 1920, height: 35) for output: DP-5
[2025-01-31 12:53:44.167] [info] Bar configured (width: 1920, height: 35) for output: DP-6

** (waybar:4863): WARNING **: 12:53:45.114: Status Notifier Item with bus name ':1.14' and object path '/org/ayatana/NotificationItem/nm_applet' is already registered

Hyprland workspace output:

hyprctl workspaces

workspace ID 1 (1) on monitor DP-4:
	monitorID: 0
	windows: 1
	hasfullscreen: 0
	lastwindow: 0x5a7d9a3d1250
	lastwindowtitle: [hyprland/workspaces] duplicate workspace buttons/labes · Issue #3912 · Alexays/Waybar - Google Chrome

workspace ID 2 (2) on monitor DP-5:
	monitorID: 1
	windows: 3
	hasfullscreen: 0
	lastwindow: 0x5a7d9a3e2180
	lastwindowtitle: icsboyx@xxx:~

workspace ID 3 (3) on monitor DP-6:
	monitorID: 2
	windows: 0
	hasfullscreen: 0
	lastwindow: 0x0
	lastwindowtitle:

workspace ID -1337 (Discord) on monitor DP-6:
	monitorID: 2
	windows: 1
	hasfullscreen: 0
	lastwindow: 0x5a7d9a364e90
	lastwindowtitle: Friends - Discord

workspace ID -1338 (Obs) on monitor DP-6:
	monitorID: 2
	windows: 1
	hasfullscreen: 0
	lastwindow: 0x5a7d9a473bf0
	lastwindowtitle: OBS 31.0.1-tytan652-1 - Profile: Untitled - Scenes: Untitled

Do you have any suggestion or workaround ?
Regards
ics

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions