~zeioth


#196 Is it possible to style (or at least hide) the search bar magnifier icon? 9 months ago

Comment by ~zeioth on ~scoopta/wofi

yes, this cannot be fixed unless GTK implement proper HiDPI support, which seems they don't have any intention to do atm.

Workaround for this issue here: https://todo.sr.ht/~scoopta/wofi/179

#216 Arrow down don't work as expected on filtered content 9 months ago

Comment by ~zeioth on ~scoopta/wofi

Thank you so much for your hard work 🙏

#216 Arrow down don't work as expected on filtered content 9 months ago

Ticket created by ~zeioth on ~scoopta/wofi

If you write something on wofi to filter the list, and press , it will take two keypress before the cursor move.

This bug seems to have been introduced recently.

##More info

  • Command: wofi -p run
  • System: Arch Linux (hyprland)

#36 Any chance we get hyprland support? 1 year, 8 months ago

Ticket created by ~zeioth on ~tsdh/swayr

Swayr is the only thing I'm missing after moving to hyprland.

#198 Improvement: Close wofi on → Click outside wofi 1 year, 9 months ago

Comment by ~zeioth on ~scoopta/wofi

Would it be feasible to close wofi when the form loses focus?

#198 Improvement: Close wofi on → Click outside wofi 1 year, 9 months ago

Ticket created by ~zeioth on ~scoopta/wofi

It would be nice to have an option to tell Wofi to close when the user clicks outside Wofi.

We could call it '--modal=y/n'.

#179 GTK icons don't scale on HiDPI 2 years ago

Comment by ~zeioth on ~scoopta/wofi

I think the same, but I recently discovered that making QT look like GTK is actually trivial.

Anyway, wofi is awesome like it is. No need to do anything radical. GTK will eventually catch up, and everything will be fine, I hope.

Also this is unrelated but I think there are QT/GTK hooks for rust. That's going to be a cool experiment for someone in the future 😁

#179 GTK icons don't scale on HiDPI 2 years ago

Comment by ~zeioth on ~scoopta/wofi

Hey thank you. You can see the difference here.

I'm triying to get some traction on this issue on GTK.

#179 GTK icons don't scale on HiDPI 2 years ago

Comment by ~zeioth on ~scoopta/wofi

I've succeeded. This is how I've adapted wofi for HiDPI:

It seems one cannot use the selector from the official docs (searchbar → revealer → box...) but the structure still exists, and can be accessed through child selectors.

/* search icon */
#input:first-child > :nth-child(1) {
  min-height: 1.25em;
  min-width: 1.25em;
  background-image: -gtk-icontheme('open-menu-symbolic');
}

/* clear icon */
#input:first-child > :nth-child(4){
  min-height: 1.25em;
  min-width: 1.25em;
  background-image: -gtk-icontheme('window-close-symbolic');
}

Of course the original icons are still there under the background image. GTK HiDPI support is hideous atm.

#179 GTK icons don't scale on HiDPI 2 years ago

Comment by ~zeioth on ~scoopta/wofi

Right... This took me a long time to figure out because I'm no C expert, but I've been reading the source code and now I understand we are creating a gtk searchbar with the css selector name 'input' (wofi.c, line 1767).

Having that info is easy to figure out one can just

#input * {
  background-color: red;
  color: red;
}

To apply styles to the searchbar icons.