To ensure Mechabar works properly after installation, install the following packages:
Arch Linux:
sudo pacman -S pipewire wireplumber playerctl brightnessctl python ttf-jetbrains-mono-nerd networkmanager
yay -S rofi-lbonn-wayland-git wlogout
pipewire |
Low-latency audio/video router and processor |
wireplumber |
Session/policy manager implementation for PipeWire |
playerctl |
MPRIS media player controller for Spotify, VLC, Audacious, BMP, XMMS2, and others |
brightnessctl |
Lightweight brightness control tool |
python |
The Python programming language |
rofi-lbonn-wayland-git |
A window switcher, application launcher and dmenu replacement (fork with Wayland support) |
wlogout |
Logout menu for Wayland |
ttf-jetbrains-mono-nerd |
Patched font JetBrains Mono from the nerd fonts library |
networkmanager |
Network connection manager and user applications |
Important
If you use alternatives, you might need to adjust 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 -r 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 cpuinfo.sh cpuusage.sh wifiinfo.sh wifimenu.sh mediaplayer.py ~/.config/waybar/scripts/
System-wide:
mkdir -p ~/.local/share/bin/ cp volumecontrol.sh brightnesscontrol.sh logoutlaunch.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 waybar &
- 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.
- This configuration uses base modules and scripts from prasanthrangan/hyprdots.
- The pastel color palette, or "flavor", used is Catppuccin Mocha.