Skip to content
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

CLI support #37

Open
JasonCraneAdkins opened this issue Sep 5, 2024 · 2 comments
Open

CLI support #37

JasonCraneAdkins opened this issue Sep 5, 2024 · 2 comments

Comments

@JasonCraneAdkins
Copy link

Hi,

is there CLI support or is this a planed feature?
I use an Alias to update my System, it would be nice if i could ad a command to update Apdatifier afterwards

@exequtic
Copy link
Owner

exequtic commented Sep 6, 2024

Yes, I was thinking of doing something to make it work without the KDE widget, but at the moment I don't have any time for that. Currently (with the latest commit), you can call some functions from a bash script and create aliases like this, for example:

apdatifier="$XDG_DATA_HOME/plasma/plasmoids/com.github.exequtic.apdatifier/contents/tools/tools.sh"
alias management='$apdatifier management'
alias updMirrors='$apdatifier mirrorlist'
alias updWidgets='$apdatifier upgradeAllWidgets'

# Full upgrade: refresh mirrorlist, system updates, flatpak apps, kde widgets
alias upgrade='updMirrors; yay; flatpak update; updWidgets'

@UserCel
Copy link

UserCel commented Oct 2, 2024

I would also appreciate such a feature, it would be nice to at least be able to refresh/clear the packages in the plasmoid after a system upgrade using a pacman hook.

Thanks for your efforts of this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants