Skip to content
sejjyPublic

About

A modular Waybar configuration

Topics

Resources

Stars

871 stars

Watchers

12 watching

Forks

Latest commit

 

History

277 Commits

Folders and files

Repository files navigation

🤖 mechabar

A modular Waybar configuration

Preview
Themes
Catppuccin Mocha (default)
Catppuccin Mocha
Catppuccin Macchiato
Catppuccin Macchiato
Catppuccin Frappe
Catppuccin Frappe
Catppuccin Latte
Catppuccin Latte

Requirements

  • waybar

  • A terminal (default: kitty)

    If you use a different terminal, see the Terminal section below.

Installation

  1. Back up your current Waybar configuration:

    mv ~/.config/waybar{,.bak}
  2. Clone the repository:

    git clone https://github.com/sejjy/mechabar.git ~/.config/waybar
  3. Install the dependencies and restart Waybar:

    ~/.config/waybar/install

    See install for the list of dependencies.

Configuration

Terminal

If you use a different terminal, replace all invocations of kitty in the module files. For example:

// ~/.config/waybar/modules/custom/power.jsonc

"custom/power": {
	// "on-click": "kitty -e ~/.config/waybar/scripts/power",
	"on-click": "ghostty -e ~/.config/waybar/scripts/power",
}

Fonts/Icons

Different fonts render characters at different sizes, which can affect the layout. If you prefer to use a different font, you may need to adjust the font sizes in style.css.

You can search for icons on nerdfonts.com/cheat-sheet. Most modules use nf-md- icons for consistency.

Themes

To change the theme, import your preferred theme file from the themes directory to style.css. For example:

/* @import "themes/catppuccin-mocha.css"; */
@import "themes/catppuccin-latte.css";

Custom

The leftmost module is left for you to configure. For example:

// ~/.config/waybar/modules/custom/user.jsonc

"custom/user": {
	"on-click": "/path/to/your/script", // Run your own script
	"on-click-right": "pkill -SIGUSR2 waybar", // Restart Waybar
}

References

About

A modular Waybar configuration

Topics

Resources

Stars

871 stars

Watchers

12 watching

Forks

Contributors

Languages