end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.08k stars 197 forks source link

Search customizing #587

Closed myryk31415 closed 3 weeks ago

myryk31415 commented 3 weeks ago

One bugfix: if the blocked website array is empty there is no -site: anymore

And added user options to turn search features on and off. Also there is a new NoResultsButton (maybe it shouldn't be a button lol) so the search result list is never completly empty.

Also I'm wondering whether the Buttons could be changed so they can also be used when pressing enter, so all the conditions in onAccept could be skipped. Might try some stuff tomorrow (its 3:46am)

myryk31415 commented 3 weeks ago

Now instead of all the checks it just executes the "action" of the first item in the list

myryk31415 commented 3 weeks ago

Now the order of results and the actions are just in one place: the onChange function for the order of the items, and searchbuttons file for the actions

myryk31415 commented 3 weeks ago

This makes further features like maybe a configurable order of the results easier as well.

myryk31415 commented 3 weeks ago

Should be good to go now, unless some issue arises from taking all that stuff out?

myryk31415 commented 3 weeks ago
  1. Are you just busy or are there any problems with the changes? :)
myryk31415 commented 3 weeks ago

Great :). Have a good day

end-4 commented 3 weeks ago

tested, works, thanks!

end-4 commented 3 weeks ago

repeating "enable..." options felt weird so i changed those