Giter VIP home page Giter VIP logo

lemonbar's Introduction

My lemonbar config written mostly in lua

Usage

Dependencies

  • lemonbar
  • lua
  • xdotool (for workspaces)
  • playerctl (for music)
  • amixer (for volume)
  • light (for backlight)

Run

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.

lemonbar's People

Contributors

edenqwq avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.