This configuration is tested and optimized for the following system setup:
- Operating System: Arch Linux
- Display Server: Wayland
- Window Manager: Hyprland
- Monitor Resolution: 1920x1080
Note: This configuration is initially designed for laptops.
To ensure Mecha Bar works properly, make sure to install the following dependencies:
- pipewire
- wireplumber
- pavucontrol
- playerctl
- brightnessctl
- python
- rofi
- ttf-jetbrains-mono-nerd
- networkmanager
-
Clone the repository:
git clone https://github.com/Sejjy/MechaBar.git cd MechaBar
-
Copy the configuration files: Copy the
config.jsonc
,style.css
, andtheme.css
files to your Waybar configuration directory:cp config.jsonc ~/.config/waybar/ cp style.css ~/.config/waybar/ cp theme.css ~/.config/waybar/
-
Setup scripts: Copy the
scripts
folder to your Waybar configuration directory:cp -r scripts ~/.config/waybar/
Copy the scripts from the
scripts
directory to~/.local/share/bin
:mkdir -p ~/.local/share/bin cp scripts/* ~/.local/share/bin/
Note: The
mediaplayer.py
script requires Python 3 to function. Make sure Python 3 is installed on your system:-
Arch Linux
sudo pacman -S python
-
-
Restart Waybar After copying the files, restart Waybar to apply the changes:
killall waybar waybar &
You can modify the configuration files to match your setup, but you will need to adjust the scripts and configuration accordingly if you use alternative tools or dependencies.
This configuration uses base modules and scripts from prasanthrangan's hyprdots which served as the foundation for this setup.