Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edenqwq/lemonbar
My lemonbar config written mostly in lua
https://github.com/edenqwq/lemonbar
Last synced: 3 months ago
JSON representation
My lemonbar config written mostly in lua
- Host: GitHub
- URL: https://github.com/edenqwq/lemonbar
- Owner: EdenQwQ
- Created: 2022-11-22T06:39:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-24T09:58:06.000Z (about 2 years ago)
- Last Synced: 2023-07-17T10:44:13.990Z (over 1 year ago)
- Language: Lua
- Size: 12.7 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My lemonbar config written mostly in **lua**
## Usage
### Dependencies
- lemonbar
- lua
- xdotool (for workspaces)
- playerctl (for music)
- amixer (for volume)
- light (for backlight)### Run
```bash
git clone https://github.com/EdenQwQ/lemonbar.git
cd lemonbar
./bar.lua | bash
```Remember to add `| bash` in order to get proper feedback for click/scroll actions.
### Configure
Edit `bar.lua` to config the bar's height, font, font size, etc.
Edit `layout.lua` to config the layout for widgets.
Edit the first line of `widgets.lua` to change the theme. (all flavors of catppuccin are available)
## Actions
> In order to get all of the actions work properly, you may want to install htop, nmtui, tty-clock, calcurse, powerprofilesctl
- Left click the numbers on the workspace widget to switch workspace.
- Right click the numbers on the workspace widget to move the focused window to the workspace.
- Left click the memory widget to run `htop`.
- The music widget supports media control (play/pause, next, previous).
- Left click the wifi widget to run `nmtui`.
- Scroll up/down on the backlight widget to increase/decrease screen brightness.
- Scroll up/down on the volume widget to increase/decrease volume.
- Left click the volume widget to mute/unmute.
- Left click the time widget to run `tty-clock`.
- Left click the date widget to run `calcurse`.
- Left click the battery widget to switch to power-save mode.
- Right click the battery widget to switch to performance mode.
- Middle click the battery widget to switch to balanced mode.