DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

[FEAT] Workspaces with urgent windows

Open lostdata2 opened this issue 1 year ago • 6 comments

Some windows can set his state to urgent, and some bars can show workspaces with urgent windows (as waybar)

lostdata2 avatar Oct 03 '25 18:10 lostdata2

niri or hyprland? Have a screenshot of what it looks like ?

bbedward avatar Oct 03 '25 20:10 bbedward

@bbedward hyprland API in quickshell for workspaces has a flag for urgent state: https://quickshell.org/docs/v0.2.0/types/Quickshell.Hyprland/HyprlandWorkspace/

Maybe this will help.

chpock avatar Oct 03 '25 21:10 chpock

Try this 44449e26a0ea9d3e9ea3ca0563b55a47e192240f

it works on niri, i didn't try hyprland (if it doesn't work on hyprland I'll launch hyprland to try it myself)

bbedward avatar Oct 03 '25 22:10 bbedward

It works as expected on hyprland. However, the colors may need to be tweaked:

Image

chpock avatar Oct 04 '25 00:10 chpock

@chpock I changed the text color to mach primary, hopefully all good now.

bbedward avatar Oct 04 '25 04:10 bbedward

How can I activate the urgency indicator? Unfortunately, it doesn't work here. I'm using niri. As you can see in the screenshot below, the urgency indicator is activated correctly in waybar's workspace switcher, but not in dms.

Image

WorstUsernameAtAll avatar Nov 15 '25 12:11 WorstUsernameAtAll