Tomas-M / xlunch

Graphical app launcher for X with minimal dependencies
http://xlunch.org
GNU General Public License v3.0
219 stars 37 forks source link

Ability to set window title? #118

Closed Botspot closed 3 years ago

Botspot commented 3 years ago

I'm using xlunch in windowed mode. (Fullscreen is not to my liking)

The xlunch window is titled "xlunch: Graphical app launcher". Is there any way to change it? It appears to be hard-coded on line 2451.
Please consider adding such an option.

PMunch commented 3 years ago

Ah, yes this is hard-coded without any way of changing it. To be honest I don't think I have ever run it in windowed mode, so I simply never noticed that. But adding an option for this should be simply, do you have any suggestions for a switch name?

Botspot commented 3 years ago

@PMunch If you need a suggestion for the command-line switch, why not --title?

That's how yad does it at least. A short-version command flag, I would just skip it TBH.

Botspot commented 3 years ago

In case you're curious, I'm planning on using xlunch for my Raspberry Pi app store.
2020-11-26-082755_1920x1080_scrot

PMunch commented 3 years ago

This is fixed in https://github.com/Tomas-M/xlunch/commit/71517d5824e4bf95244f0a30fdbb27f466394d68 (I messed up the commit a bit..).

That project looks really cool! Just out of curiosity, how did you end up using xlunch for the UI?

Botspot commented 3 years ago

That project looks really cool! Just out of curiosity, how did you end up using xlunch for the UI?

I've been using the YAD dialog system. While it works fine, there's no search tool, and every new app that's added to the list makes YAD take a little longer to launch. If we keep up with the growth rate, I'll be forced to limit the number of apps displayed in the yad dialog at once to keep a reasonable launch time.
Here's the current yad window:
main window And then also, xlunch looks so much cooler than yad for doing this. The transparency, the hovering rectangle, the mouse pointer changing states to the "over link" state, etc. Keep up the great work!