This project provides a set of customizations for Waybar to enhance the user experience when using it with Hyprland. It integrates several tools to provide a seamless and efficient workflow.
checkupdate: Checks for system updates.rofi-shutdown-menu: Provides a shutdown menu using Rofi.rofi-audio-output-selector: Allows switching between audio outputs using Rofi.hyprland-keyboard-changer: Changes keyboard layouts for Hyprland.Clone the repository:
bash
git clone https://github.com/yourusername/hyprland-waybar-customization.git
cd hyprland-waybar-customization
Copy the configuration files:
bash
cp -r .config/waybar ~/.config/waybar
Install the required tools: Ensure you have the following tools installed:
checkupdaterofidunsthyprlandhyprctlConfigure Waybar: Edit the Waybar configuration files as needed to match your system setup.
There's a RPM based package that can be installed on Fedora Linux using copr
copr repositorybash
copr enable cjuniorfox/hyprland-desktop
bash
dnf install hyprland-shell-waybar
The recommended way is using the systemd user service. If you're using Hyprland or Sway, make use of uswm is prefered.
systemctl --user enable --now hyprland-shell-waybar
You can also exec directy.
start_waybar_hyprland
The main configuration file is located at ~/.config/waybar/config. It includes custom modules and settings for Waybar.
Custom scripts are located in ~/.config/waybar/scripts. These scripts handle various functionalities such as checking updates, switching keyboard layouts, and managing notifications.
Here is an example of the Waybar configuration:
{ "layer": "top", "height": 32, "spacing": 6, "include": [ "/etc/xdg/waybar/modules.json", "~/.config/waybar/quick-launcher.json", "~/.config/waybar/modules-left.json" ], "modules-center": ["hyprland/workspaces"], "modules-right": [ "idle_inhibitor", "disk", "memory", "cpu", "custom/dunst", "custom/block_keybind", "custom/hyprland_keyboard", "custom/updates", "pulseaudio", "battery", "clock", "tray", "custom/shutdown" ] }
To properly get your weather location, check the location ID at https://weather.com/en-IN/weather/today.
Check for your city's forecast and copy the ID from the URL.
Example:
Nova Friburgo - RJ is 2bf40a7aa6288f1090ab35632ce451a0014b11f0b4c370b8cd4d9a018d880a3a
export the environment variable WEATHER_ID with the value.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy your enhanced Waybar experience with Hyprland!