Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yashsriv/go-lemonbar
Lemonbar Configuration via Go
https://github.com/yashsriv/go-lemonbar
Last synced: 2 months ago
JSON representation
Lemonbar Configuration via Go
- Host: GitHub
- URL: https://github.com/yashsriv/go-lemonbar
- Owner: yashsriv
- License: mit
- Created: 2017-02-26T09:20:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-01T05:56:55.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T08:22:09.768Z (7 months ago)
- Language: Go
- Size: 48.8 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-lemonbar
Lemonbar Configuration via Go.![Preview](./screenshots/full.png)
Looks and feels inspired by [@CopperBadger's Config](https://github.com/CopperBadger/dotfiles/tree/master/dots/.i3/lemonbar-new)
Completely Modular. Each module runs in its own goroutine and handles
click signals as well as workspace switching and updates automatically
in certain time intervals.Requires:
* `lemonbar-xft` - Taken from AUR
* `go`Install Using:
```
go install
```Current Modules:
* DateModule - For Current Date and Time. Simplest Module which serves as a template for other modules.
![Preview Date](./screenshots/date.png)
* BatteryModule - For Battery Status. Uses Fontawesome icons and requires:
`github.com/distatus/battery` - Easily Installed via `go get -u github.com/distatus/battery`
![Preview Battery](./screenshots/battery.png)* BrightnessModule - For Brightness Value. Uses `/sys/class/backlight/intel-backlight`
![Preview Brightness](./screenshots/brightness.png)
* IpModule - Finds currently active network interface using `net` package
![Preview Network](./screenshots/ip.png)
* WorkspaceModule - For communicating with i3 and maintaining currentWorkspace. Requires:
`github.com/proxypoke/i3ipc` - Easily Installed via `go get -u github.com/proxypoke/i3ipc`![Preview Network](./screenshots/wsp.png)
* ShellModule - For those of us who can't get over our shell scripts :stuck_out_tongue:
![Preview Network](./screenshots/fortune.png)
# TODO:
* Read all configuration from config file instead of hardcoding into code.