-
A terminal emulator (default: kitty)
If you use a different terminal emulator, see the Configuration section below.
-
Back up your current Waybar configuration:
mv ~/.config/waybar{,.bak} -
Clone the repository:
git clone https://github.com/sejjy/mechabar.git ~/.config/waybar -
Install the dependencies and restart Waybar:
~/.config/waybar/installDependencies (7)
Package Command Description bluez-utilsbluetoothctlDevelopment and debugging utilities for the bluetooth protocol stack brightnessctlbrightnessctlLightweight brightness control tool fzffzfCommand-line fuzzy finder libnotifynotify-sendLibrary for sending desktop notifications networkmanagernmcliNetwork connection manager and user applications pacman-contribcheckupdatesContributed scripts and tools for pacman systems Optional:
Package Description otf-commit-mono-nerdPatched font Commit Mono from nerd fonts library If you prefer a different font, see the Configuration section below.
Terminal
If you use a different terminal emulator, replace every instance of kitty in the module files.
For example:
Fonts
Different fonts render characters in different sizes, which can affect the layout.
Import your preferred font file from the fonts directory to style.css.
For example:
/* @import "styles/fonts/commit-mono.css"; */
@import "styles/fonts/jetbrains-mono.css";Themes
To change the theme, import your preferred theme file from the themes directory to style.css.
For example:
/* @import "styles/themes/catppuccin-mocha.css"; */
@import "styles/themes/catppuccin-latte.css";Icons
You can search for icons on Nerd Fonts: Cheat Sheet ↗. For example:
gentoo
Matches: nf-dev-gentoo, nf-linux-gentoo, nf-md-gentoo*
*Most modules use Material Design Icons (nf-md-*) for consistency.
Custom module
The leftmost module has no default function and 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
}


