Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.0% on proxy.golang.org
Top 4.6% dependent packages on proxy.golang.org

proxy.golang.org : github.com/snhilde/statusbar

Package statusbar displays various information on the dwm statusbar. The design of this statusbar manager is modular by nature; you create the main process with this package and then populate it with only the information you want using individual modules. For example, if you want to show only the time and weather, then you would import only those two modules and add their objects to the statusbar, resulting in only the time and weather to appear on the statusbar for dwm. This modular design allows flexibility in customizing each individual statusbar and ease in management. This package is the engine that controls the modular routines. For the modules currently integrated with this framework and included in this repository, see the child packages that begin with "sb". There are currently modules that display a range of information, including various system resources, personal TODO lists, the current weather, VPN status, and the current time. To integrate a custom module into this statusbar framework, the routine's object needs to implement the RoutineHandler interface, which includes these methods: It is suggested that this object be created by New(), which will also initialize any members of the object (if needed). The sample code below creates a new statusbar, adds some routines to it, and begins displaying the formatted output. In dwm, we are using the dualstatus patch, which creates a top and bottom bar for extra statusbar real estate. The top bar will display the time, and the bottom bar will display the disk usage and CPU stats. Package statusbar formats and displays information on the dwm statusbar by managing modular data routines.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/snhilde/statusbar
Keywords: dwm, dwm-statusbar, statusbar, system
License: MIT
Latest release: about 3 years ago
First release: almost 4 years ago
Namespace: github.com/snhilde
Dependent packages: 1
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago

    Loading...
    Readme
    Loading...