Plug-ins for PkgBrowser (pacman/AUR browser for Arch Linux)
Shanto/pkgbrowser-plugins
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to use these plug-ins with PkgBrowser? ---------------------------------------- Just import the plug-in files after initializing the window. Assuming the plugins files are under lib/plugins: # put these lines after app.window().setup() plugpath = os.path.join(os.path.dirname(__file__), 'plugins') import imp for module in [file for file in os.listdir(plugpath) if file[-2:] == 'py']: try: imp.load_module(module[:-3], *imp.find_module(module[:-3], [plugpath])) except: pass
About
Plug-ins for PkgBrowser (pacman/AUR browser for Arch Linux)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published