-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Filter / Source Selection #34
Comments
You mean: after startup, the grid should look as if you've already clicked the "Games" category button, right? If so, it would be possible to pass an argument, e.g. |
I think that would suffice yes. Couldn't you send a signal for it to change categories? To be honest I don't usually use the resident mode so it wouldn't affect me. |
Thinking more about it, in my use case it would be ideal that when you pass I am trying to use the application as my game launcher and use some additional categories to organize it. So it I would have games categories like RPG, FPS and etc. When I activate the launcher, only games are displayed but I can still manage the categories. |
This makes little sense. The |
It doesn't I am sorry. Did you understand my use case? The cat argument as you first propose would help but allowing to pass multiple categories and ignoring entries not on those categories would be what I am looking for. |
Passing multiple categories is not a problem, but be aware, that most of programs have more than one category assigned in their .desktop file. |
Yes, I am aware. I would still have to manage my own |
Alright, I'll take a closer look at the code soon. |
Could you try and build from the |
So, under the risk of abusing your patience: I still would like to have the Categories selection UI when multiple Categories are selected. My idea is to launch Other than that the proposed the branch is running smoothly, thank you very much. (By the way, did you recover well from your operation?) |
I'm well, thank you. I'm not sure how you're going to use the buttons. They only show predefined categories. |
Oh, I see. I was under the impression that the categories were being parsed from the ones defined in the Well, the update did solve my first problem (create a Category specific launcher) so thank you. |
Yes, I couldn't take them from .desktop files, as many apps have numerous unexpected definitions. We would have a very long list. |
...
Could the categories actually used by the drawer be user defined?
Like a in JSON configuration file?
…On Mon, Nov 29, 2021, 08:32 Piotr Miller ***@***.***> wrote:
Yes, I couldn't take them from .desktop files, as many apps have numerous
unexpected definitions. We would have a very long list.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFLUKC5LY6JT2MFE7T6GMTUON6FPANCNFSM5IRLIPRQ>
.
|
Sorry, not in this program. I did my best to simplify categories, by assigning all the mess to 8 main categories + "Other", to simplify usage in normal use case. You need a dedicated code to meet your expectation. |
Thank you for you support. |
Tell me if the changes on another branch are useful to you. If not, I won't merge, as personally I'm not going to use it ever in my life. |
They are useful as they simulate the way I am using nwggrid right now. It would be useful to have it in the master branch. |
Alright, I'll leave them for you. |
Is it possible to add filters to nwg-drawer?
Example: I would like to create a key bind to open a menu that only displays Games application.
In
nwggrid
I do this by a different feature. There I can select the source folder for the.desktop
files. To be honest this is not always exactly what I am looking for since I have to manually maintain all the desktop files. But it is also a good feature to have, for example using it I can not display some useless shortcut that is automatically create under/usr/share/applications
.The text was updated successfully, but these errors were encountered: