Hyprland - Handle workspaces without an id
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- desktop
Research direction
Start by tracing how the Hyprland workspace data from hyprctl workspaces -j is read and how workspace pills are identified; the issue does not name source files or tests. Reproduce with a named workspace such as 9 · music and inspect the workspace display. Done when the named workspace produces one correctly displayed pill instead of duplicates.
Written by the indexing model from the issue text.
Description
Compositor
Hyprland
Distribution
NixOS
If Other, please specify
No response
Select your Installation Method
Distro Packaging
Was this your original Installation method?
Yes
If no, specify
No response
dms doctor -vC
Click to expand
## DMS Doctor ReportSystem
- [ok] Operating System: NixOS 26.11 (Zokor)
- Supported for runtime (install via NixOS module or Flake)
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
Versions
- [ok] DMS CLI: dms v2.1.2
- /nix/store/hm55fgbai1n57gmzacbps5dw54r6fiw0-dux-shell-2.1.2/bin/.dms-wrapped
- [ok] Quickshell: Quickshell 0.3.2 (revision tag-v0.3.2, distributed by Nixpkgs)
- /run/current-system/sw/bin/qs
- [ok] DMS Shell: v2.1.2
- /run/user/1000/dms-shell/7c4ffac7434e05c7
Installation
- [ok] DMS Configuration: Found
- /run/user/1000/dms-shell/7c4ffac7434e05c7
- [ok] shell.qml: Present
- /run/user/1000/dms-shell/7c4ffac7434e05c7/shell.qml
- [info] Install Type: Unknown
- /run/user/1000/dms-shell/7c4ffac7434e05c7
Compositor
- [ok] Hyprland: 0.57.2
- /run/current-system/sw/bin/hyprland
- [info] Active: Hyprland
- [ok] Background Blur: Supported
- Compositor supports ext-background-effect-v1
Quickshell Features
- [ok] Polkit: Available
- Authentication prompts
- [ok] IdleMonitor: Available
- Idle detection
- [ok] IdleInhibitor: Available
- Prevent idle/sleep
- [ok] ShortcutInhibitor: Available
- Allow shortcut management (niri)
- [ok] BackgroundBlur: Available
- Background blur API support in Quickshell
Optional Features
- [ok] accountsservice: Available
- User accounts
- [warn] power-profiles-daemon: Not available
- Power profile management
- [ok] logind: Available
- Session management
- [ok] cups-pk-helper: Available
- Printer management
- [ok] I2C/DDC: 2 monitor(s) detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (3 formats)
- Formats: WebP, TIFF, ICNS (/nix/store/3r2wd4pkh5x1ljvw1f7ym2wc5zgcda8f-qtimageformats-6.12.0/lib/qt-6/plugins/imageformats)
- [ok] kimageformats: Installed (4 formats)
- Formats: AVIF, HEIF, JXL, EXR (/nix/store/2mr6673r5lvbymdq71kamamj1q29p0yv-kimageformats-6.31.0/lib/qt-6/plugins/imageformats)
- [ok] Terminal: alacritty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] cava: Installed
- Audio visualizer
- [info] khal: Not installed
- Calendar events
- [info] dux-search: Not installed
- File search
- [info] dux-calendar: Not installed
- Calendar app
- [info] dux-files: Not installed
- File manager
- [info] fprintd: Not installed
- Fingerprint auth
- [info] adw-gtk3: Not installed
- GTK3 dynamic theming; without it the global CSS override applies
Config Files
- [warn] settings.json: Present (read-only)
- /home/x/.config/dms/settings.json
- [info] clsettings.json: Not yet created
- /home/x/.config/dms/clsettings.json
- [info] plugin_settings.json: Not yet created
- /home/x/.config/dms/plugin_settings.json
- [ok] session.json: Present
- /home/x/.local/state/dms/session.json
- [ok] dms-colors.json: Present
- /home/x/.cache/dms/dms-colors.json
Services
- [ok] dms.service: enabled, active
- [info] greetd: Not installed
- Optional greeter service
- [ok] xdg-desktop-portal: Settings portal reachable
Environment
- [info] QT_QPA_PLATFORMTHEME: Not set
- [info] QT_QPA_PLATFORMTHEME_QT6: Not set
- [info] QS_ICON_THEME: Not set
- [info] XDG_MENU_PREFIX: Not set
Fonts
- [ok] Normal Font: Google Sans Flex
- /run/user/1000/dms-shell/7c4ffac7434e05c7/DCommon/assets/fonts/google-sans-flex/GoogleSansFlex.ttf
- [ok] Monospace Font: Fira Code
- /run/user/1000/dms-shell/7c4ffac7434e05c7/DCommon/assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf
- [ok] Display Font: DM Serif Display
- /run/user/1000/dms-shell/7c4ffac7434e05c7/DCommon/assets/fonts/dm-serif-display/DMSerifDisplay-Regular.ttf
Summary: 0 error(s), 2 warning(s), 32 ok
Description
On Hyprland, not all workspaces may have an id. For instance, see the output of hyprctl workspaces -j:
[{
"address": "music",
"type": "normal",
"name": "9 · music",
"monitor": "DP-2",
"monitorID": 0,
"windows": 0,
"hasfullscreen": false,
"lastwindow": "0x0",
"lastwindowtitle": "",
"ispersistent": false,
"tiledLayout": "dwindle"
}]
Since named workspaces are allowed.
Expected Behavior
No response
Steps to Reproduce
Define a hyprland workspace as a non-int string, like "9 · music"
Error Messages/Logs
The workspace pills are duplicated
Screenshots/Recordings
This is what shows when displaying the workspaces as their index + name in that case:
- Dominant language
- QML
- Stars
- 8.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AvengeMedia/DankMaterialShell
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/DankMaterialShell#4295 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AvengeMedia/DankMaterialShell#4291 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AvengeMedia/DankMaterialShell#4276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
AvengeMedia/DankMaterialShell#4159 ·
-
Cursor selection leaves existing GTK cursor settings unchangedMay be free again @Mario-Mohar claimed this 11 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AvengeMedia/DankMaterialShell#4117 · 2 comments ·
All issues in AvengeMedia/DankMaterialShell
Similar issues
-
area: performance
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
manaflow-ai/cmux#44791 · 1 comment ·
Maintainers usually reply within 1 day
-
bug priority-medium to-agent
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
Tudmotu/gnome-shell-extension-clipboard-indicator#673 ·
Maintainers usually reply within 11 days
-
area:ui enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
transit-audio/transit#738 ·
Maintainers usually reply within 1 day
-
area: app type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
YuriiMurha/grooviq#69 ·
Maintainers usually reply within 1 day