Skip to content

Latest commit

 

History

History
143 lines (111 loc) · 4.64 KB

README.md

File metadata and controls

143 lines (111 loc) · 4.64 KB

🤖 Mechabar

Preview 1
Preview 2
Preview 3
 🛜 Wi-Fi Menu
Wi-Fi Menu
 ⏸️ Logout Menu
Logout Menu 1.0 Logout Menu 1.1
Logout Menu 2.0 Logout Menu 2.1

Dependencies

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.

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 -r 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 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/*
  4. Restart Waybar to apply the changes:

    killall waybar
    waybar &

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.

Credits