A mecha-themed Waybar configuration initially designed for Hyprland, but also compatible with Sway and other Wlroots-based compositors with minimal adjustments. Contributions are welcome, including opening issues, submitting pull requests for bug fixes or enhancements, and adding support for other distributions and compositors through new branches.
-
Clone the repository:
git clone https://github.com/sejjy/mechabar.git cd mechabar
-
Run the install script:
./install.sh
This backs up existing folders (waybar, rofi, wlogout) and installs all dependencies, configuration files, and scripts.
-
Required:
sudo pacman -S bluez-utils brightnessctl jq python
With alternatives:
sudo pacman -S pipewire ttf-jetbrains-mono-nerd wireplumber
-
Optional (but recommended):
yay -S bluetui rofi-lbonn-wayland-git wlogout
Package | Description |
---|---|
bluetui |
TUI for managing bluetooth devices |
bluez-utils |
Development and debugging utilities for the bluetooth protocol stack |
brightnessctl |
Lightweight brightness control tool |
jq |
Command-line JSON processor |
pipewire |
Low-latency audio/video router and processor |
python |
The Python programming language |
rofi-lbonn-wayland-git |
A window switcher, application launcher and dmenu replacement (fork with Wayland support) |
ttf-jetbrains-mono-nerd |
Patched font JetBrains Mono from the nerd fonts library |
wireplumber |
Session/policy manager implementation for PipeWire |
wlogout |
Logout menu for Wayland |
Important
If you use alternatives, you may need to modify the scripts and configuration files accordingly.
-
Clone the repository:
git clone https://github.com/sejjy/mechabar.git cd mechabar
-
Copy configuration files:
mkdir -p ~/.config/waybar/ cp config.jsonc style.css theme.css ~/.config/waybar/
Rofi:
mkdir -p ~/.config/rofi cp rofi/* ~/.config/rofi/
Wlogout:
mkdir -p ~/.config/wlogout cp -r wlogout/* ~/.config/wlogout/
-
Setup scripts:
Waybar-exclusive:
cd scripts mkdir -p ~/.config/waybar/scripts/ cp bluetooth-menu.sh cpu-temp.sh cpu-usage.sh media-player.py system-update.sh wifi-menu.sh wifi-status.sh ~/.config/waybar/scripts/
System-wide:
mkdir -p ~/.local/share/bin/ cp brightness-control.sh logout-menu.sh volume-control.sh ~/.local/share/bin/
Make scripts executable:
chmod +x ~/.config/waybar/scripts/* chmod +x ~/.local/share/bin/*
-
Restart Waybar to apply the changes:
killall waybar nohup waybar >/dev/null 2>&1 &
- You can change the colors in theme.css (for Waybar and Wlogout) and theme.rasi (for Rofi) to match your system theme.
- You can remove existing modules or add new ones from the modules folder. For a complete list of available modules, visit the Waybar Wiki.
Here are some features and improvements planned for future versions:
- Theme switcher
- Install script
- Rofi Bluetooth menu
- Improved logout menu
- The original files in the modules folder are from prasanthrangan / hyprdots.
- Waybar icons: ryanoasis / nerd-fonts
- Wlogout icons: freepik-company / flaticon-uicons
- Color palette: catppuccin / catppuccin (Mocha)