Skip to content

Shanto/pkgbrowser-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

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

No packages published

Languages