Skip to content

Latest commit

 

History

History
120 lines (92 loc) · 4.49 KB

README.md

File metadata and controls

120 lines (92 loc) · 4.49 KB

🤖 Mechabar

MechaBar

 🛜 Wi-Fi Menu
Wi-Fi Menu
 ⏸️ Logout Menu
Logout Menu 1.0 Logout Menu 1.1
Logout Menu 2.0 Logout Menu 2.1

Note

This configuration is optimized for a laptop with the following system setup:

  • Arch Linux
  • Wayland
  • Hyprland
  • monitor = DP-1, 1920x1080@60, 0x0, 1

Dependencies

To ensure Mechabar works properly after installation, install the following dependencies:

# For Arch
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/
    
    # Wi-Fi Menu
    mkdir -p ~/.config/rofi
    cp -r rofi/* ~/.config/rofi/
    
    # Logout Menu
    mkdir -p ~/.config/wlogout
    cp -r wlogout/* ~/.config/wlogout/
  3. Setup scripts:

    # Waybar-exclusive scripts
    mkdir -p ~/.config/waybar/scripts/
    cp scripts/cpuinfo.sh scripts/cpu.sh scripts/essid.sh scripts/wifimenu.sh scripts/mediaplayer.py ~/.config/waybar/scripts/
    
    # System-wide scripts
    mkdir -p ~/.local/share/bin/
    cp scripts/globalcontrol.sh scripts/volumecontrol.sh scripts/brightnesscontrol.sh scripts/logoutlaunch.sh ~/.local/share/bin/
    
    # Make scripts executable
    chmod +x ~/.config/waybar/scripts/*
    chmod +x ~/.local/share/bin/globalcontrol.sh ~/.local/share/bin/volumecontrol.sh ~/.local/share/bin/brightnesscontrol.sh ~/.local/share/bin/logoutlaunch.sh
  4. Restart Waybar to apply the changes:

    killall waybar
    waybar &

Customization

  • You can change the colors in style.css and theme.css 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