hyprswitch icon indicating copy to clipboard operation
hyprswitch copied to clipboard

different or configiurable name for the submap

Open cnf opened this issue 1 year ago • 5 comments

Hi,

My waybar config show the selected submap, and the current hyprswitch one is rather long, enough it doesn't fit on the bar.

Would it be possible to just make it "hyprswitch" or something similar?

Thanks!

cnf avatar Dec 14 '24 12:12 cnf

The problem is that I don't know any way to override keybinds in a sub map so I generate a new one each time (that's why I added the random value at the end)

My plan is to reuse the submaps and just reactivate them instead of generating a new one, but that's not implemented yet

H3rmt avatar Dec 14 '24 12:12 H3rmt

Yeah, I suspected it was something like that.

It's just a cosmetic issue, not a functional one, but I hope you figure it out.

Thanks!

cnf avatar Dec 14 '24 13:12 cnf

I am currently working on generating all submaps ahead of time (and also all binds) via a config file.

You can check out what is being done by looking at the config Pull request (look inside the ./config folder to see the current test config file). Feel free to give some feedback

H3rmt avatar Jan 13 '25 17:01 H3rmt

I added the --submap argument, to activate a existing submap instead of generating one.

This is only meant to be used by the generate command, as it generates the corresponding keymap

H3rmt avatar Jan 19 '25 15:01 H3rmt

will be resolved in 4.0.0 when the config will be dynamicaly generated by the daemon with names like hyprswitch-20-1

H3rmt avatar Feb 13 '25 02:02 H3rmt