Waybar sits at the top of the screen and serves as the primary status bar for the Hyprland desktop. It displays the active workspaces with per-app icons on the left, a clock in the center, and system metrics — network throughput, audio volume, CPU load, memory usage, and temperature — on the right. A power button in the far-right corner opens the wlogout power menu. The bar is styled with the Dracula color palette and uses JetBrainsMono Nerd Font for icons throughout.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/matiasOliva64/dotfiles-Hyprland-fedora/llms.txt
Use this file to discover all available pages before exploring further.
Bar layout
The bar is 32 pixels tall and anchored to the top of the screen. Modules are split across three zones:Workspace icons
The workspaces module shows each workspace name followed by icons for every open window. Icons are resolved from the application’s Wayland class name usingwindow-rewrite. Five persistent workspaces are always visible on every output.
window-rewrite-default icon (""). xwaylandvideobridge is mapped to an empty string so it produces no visible icon, keeping the workspace label clean during screen-sharing sessions.
System monitoring
CPU
style.css applies a slow yellow pulse animation when usage is above 70% and a fast red pulse when it is above 90%.
Memory
Temperature (custom/temp)
temp.sh every 10 seconds. The script reads raw values from the kernel’s hwmon subsystem, converts them from millidegrees to degrees Celsius, and emits a JSON object containing the display text, a tooltip with per-device detail, and a CSS class (normal, warning, or critical) based on the CPU temperature.
Network module
⚠ offline.
Audio
default icons cycle from low to high volume. Clicking the module opens PulseAudio Volume Control (pavucontrol), which is pre-configured as a floating centered window via Hyprland window rules.
Clock
America/Argentina/Cordoba timezone and displays a 24-hour time alongside the abbreviated weekday, month, and day. Hovering shows a month calendar in a tooltip, with today’s date highlighted in Dracula red (#ff5555). Clicking opens Google Calendar in the default browser.
Custom scripts
temp.sh — hardware temperature reporter
temp.sh — hardware temperature reporter
Reads CPU temperature from The
/sys/class/hwmon/hwmon2/temp1_input, then dynamically locates the AMD GPU and NVMe sensor nodes by searching for their names under /sys/class/hwmon/hwmon*/name. All three raw millidegree values are divided by 1000 to produce integer Celsius values.The script outputs a single JSON line:class field is normal below 65°C, warning from 65–79°C, and critical at 80°C or above. Waybar uses this class to apply the corresponding CSS animation defined in style.css.workspaces.sh — live workspace renderer
workspaces.sh — live workspace renderer
An alternative workspace renderer that uses
hyprctl clients and hyprctl activeworkspace to build a Pango-formatted string for workspaces 1–7. App class names are matched in a case statement and converted to Nerd Font icons — the same set used in the window-rewrite map above.The script avoids duplicate icons within a single workspace and uses socat to subscribe to the Hyprland IPC socket, re-rendering instantly on workspace, openwindow, closewindow, and movewindow events.This script is wired to the
custom/workspaces module in the config but that module is not included in modules-left in the current layout — the native hyprland/workspaces module with window-rewrite is used instead. workspaces.sh is kept as an alternative.