Skip to content
/ mechabar Public

A futuristic, mecha-themed Waybar configuration 🤖

License

Notifications You must be signed in to change notification settings

sejjy/mechabar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mechabar 🤖

Preview 1
 🛜 Wi-Fi and Bluetooth Menu

on-click: rofi

Wi-Fi Menu
Bluetooth Menu

on-click-right: nmtui and bluetui

Bluetooth Menu
 ⏸️ Logout Menu

on-click: wlogout

Logout Menu

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.

Installation (Arch Linux)

Automatic

  1. Clone the repository:

    git clone https://github.com/sejjy/mechabar.git
    cd mechabar
  2. Run the install script:

    ./install.sh

    This backs up existing folders (waybar, rofi, wlogout) and installs all dependencies, configuration files, and scripts.

Manual

I. Dependencies

  • 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.

II. Installation

  1. Clone the repository:

    git clone https://github.com/sejjy/mechabar.git
    cd mechabar
  2. 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/
  3. 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/*
  4. Restart Waybar to apply the changes:

    killall waybar
    nohup waybar >/dev/null 2>&1 &

Customization

  • 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.

Roadmap

Here are some features and improvements planned for future versions:

  • Theme switcher
  • Install script
  • Rofi Bluetooth menu
  • Improved logout menu

Credits