You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, what an incredible plugin. I love this plugin, it has really changed my workflow too much.
Today I had enough free time so I started creating a script to manage and improve the brands a little.
The first thing I did was make add behave like vim would, with add add a mark but if it already exists then delete it, something like a togle. The second thing was to add a small dialog box to add a mark, this is just for convenience.
The other thing I added was a kind of which key, to know what brands I have available
Another very useful thing I did was remove marks from an active window if it has a registered trademark.
I leave you the script in case these ideas can be put in the core by default, in the meantime I will use this script
Wow, thank you, this is very nice. I will link the README to your comment in this issue for now, so people can use your script. Added in a069a2f
I like some of the ideas to add them to the plugin, but there is an issue with dependencies. Hyprland has started including some qtutils library as a soft dependency (hard in Arch, which is what I run). I personally don't like it, because the dependency also includes some KDE stuff, which I would prefer not to need to run Hyprland. But things are like that at the moment. I see you use yad, which is like zenity but probably more advanced, and based on GTK widgets (qtutils uses QtQuick). I would rather not add dependencies out of what Hyprland already includes. So to add any UI, it would have to be using what Hyprland provides, or starting from v0.46, maybe using the forced qtutils dependency. As things are not clear right now, I would rather wait until things mature on that front before adding any kind of UI. Also, UI could be added like you did, with a script, or as a widget to the bar (waybar, ags, ignis, etc.). Maybe it is a bit beyond what a layout plugin should provide.
As for setting marks, I followed vim's way. There is no mark toggle in vim. You add a mark called awith ma. If you add a new mark also called a to another line, the first one will be deleted and the new one will be pointing to the new location, like hyprscroller does. To delete the a mark, you need to call :delmarks a. So basically hyprscroller copies what vim does. I don't know if it is the best way, but I copied that behavior on purpose thinking that is what most people would be used to.
Again, thank you very much for taking the time to write the script and posting it here. It is very useful.
First of all, what an incredible plugin. I love this plugin, it has really changed my workflow too much.
Today I had enough free time so I started creating a script to manage and improve the brands a little.
The first thing I did was make add behave like vim would, with add add a mark but if it already exists then delete it, something like a togle. The second thing was to add a small dialog box to add a mark, this is just for convenience.
The other thing I added was a kind of which key, to know what brands I have available
Another very useful thing I did was remove marks from an active window if it has a registered trademark.
I leave you the script in case these ideas can be put in the core by default, in the meantime I will use this script
hyprconfig
The text was updated successfully, but these errors were encountered: