-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
apptui #175
base: main
Are you sure you want to change the base?
apptui #175
Conversation
8898a11
to
44d58f5
Compare
My advice is to use bash-native gum alternative instead of gum itself, as not all distros have gum installed. https://github.com/ublue-os/config/blob/main/build/ublue-os-just/ugum It uses gum if installed, with fallback to fzf & finally with fallback to native bash solution for option presentation. You can see some examples of Universal Blue just scripts which utilize https://github.com/ublue-os/config/tree/main/build/ublue-os-just |
looks nice but with ugum no way to make nice header like with gum, etc.. PS: easybashgui looks even better then ugum |
Hey gum already releases their binary in their github, isn't it better to add an am script to install gum this way than to try a bunch fo different package managers? (I can make the script if needed). EDIT: Added gum anyway lol |
I am not trying Wanna use official distro repositories Was intended copy official instructions But nice to add that...We can post that on their repo. You know publicity 😉 |
So can I now include gum TUI in am? You can't imagine what can be done with it... Maybe finally you can try it yourself @ivan-hc PPS: Almost everything is already done so fuse it to am will be quick 😉 |
Which reminds me... Can I have some place in wiki for my apptui? |
(I don't know why I get those errors above, granted I ripped out the function that tries to install gum with my distro package manager so I don't know if that broke it lol).
I don't like that when you are on a menu entry you have to navigate to
Well, instead of whatever that is, just use am to get gum. |
Will do that, since you add it ❤️ Not updated for longer time, not sure if everything still works as expected That two messages should disappear if you have appman in same dir PPS: Solution for now: run apptui in dir where appman is.. |
I will try to add apptui to am...
👍 Really like that Tried implement something like that, but leaved for later as to hard for quick solve will look at PS: But i dont see anything installed in your screenshot The whole switching between am/appman should be improved I think |
Now gum is in AM database... |
I'm happy that we can finally have a TUI version, and this is also an example I've done in my comment on the other issue you just opened #460 |
So start fix all bugs, test it with am and appman, and I'll finally merge it. Also, I can add it as an app in the database that can be optionally installed at first start (with "gum"). |
It's been there whole time. I just not made any more promotion |
I've seen that, and I know that it still needs to be improved, at least we had not to be forced having "gum" installed from repositories. |
Already looking at improving that. Just I have to rework script. |
@Samueru-sama I already thought about that |
No I didn't mean using files for menus, but having the back and forth navigation with the left/right arrow keys, like @ivan-hc Did zen0 give you 50 euro that you accepted the invitation 😆 |
@zen0bit Btw I just noticed something:
It has to check for This is how appman does it: (You don't need to check for XDG_DATA_HOME unless you also plan on using that location for something else). Also I think it is better if the TUI uses the |
I mean that if I do menus in gum file I can browse browse directories with arrow keys (because will be files in directories) gum choose or gum filter don't offer this option. you have to quit gum menu first but with files is doable ps: Maybe I can ask in gum. To add such feature, but i though that someone already ask thing like that... PPS: will look at that XDG thing... |
Replace this:
with
I already put it insdie appman because I don't think this needs to be on a separate directory. |
But i use it for am |
I don't see a problem with that. |
@Samueru-sama Maybe PR in my repo will be quicker Let's not polute with apptui stuff here? (Or you don't mind |
Ok I couldn't find that repo to make a PR to, so here are the changes, do a diff on the file to compare it: https://pastebin.com/ud6BgF0a EDIT: Forgot to put the |
I don't have own repo for project I am doing it AM fork branch apptui push to osowoso/am branch:apptui |
Should be usable
Need testing and finalizing..
Anyone willing to test it?