Jas-SinghFSU/HyprPanel

[FEATURE] Is it possible to window rewrite workspace icons?

Closed this issue · 3 comments

Describe the solution you'd like
When you visit a website the icon changes dynamic.

Waybar example: using "title"

"window-rewrite": {
		"title<.*youtube.*>": "",
                "class<firefox>": ""
}

Additional context

{
  "1": { "icon": "󰄛", "title<.*youtube.*>": ""},
}

{"1":"title<.*youtube.*>": "","2":"󰝰","3":"","4":"","5":""}
Window Titles
[
  ["youtube", "󰄛", "Youtube"],
]

You want to show the workspace icon based on the last active window in the workspace (defined as a regex)? Or are you talking about the window title? Or both lol.

I can see this being useful, it's just that we should probably split this into two feature requests if that's the case.

At minimum workspace preferred. Window title optional or fallback. The best simple implementation. It is a nice niche feature away from static already possible with waybar.

This is really user friendly bar. Probably the best looking(subjective). My next step is to start making custom modules. Dashboard shortcuts need a onclick-right option and you can double the function from 4 buttons to 8 without adding space.

implemented by #368