Skip to content

Latest commit

 

History

History
172 lines (123 loc) · 8.32 KB

File metadata and controls

172 lines (123 loc) · 8.32 KB

HollowSec's Waybar Modules

Modules   Last Updated   License   Waybar

Hello. This document describes the modules used in my primary Waybar configuration. Each module is grouped logically on the bar, and every element has been chosen to provide essential information at a glance while remaining visually clean. The configuration is designed for Hyprland on Arch Linux, but many modules are desktop‑agnostic.

Below you’ll find an explanation of each group and its constituent modules, along with notes on their behaviour and customisation.


Table of Contents


Left Side Groups

group/hollow-left-2 – Workspaces

Modules: hyprland/workspaces

This group contains only the workspace module for Hyprland. It displays the names or icons of available workspaces, with visual distinction for the active workspace and urgent windows.

Module Description Key Configuration
hyprland/workspaces Shows all workspaces. Click to switch. Active workspace uses icon 󰮯; others use *. all-outputs: true – shows workspaces from all monitors. persistent_workspaces ensures at least three workspaces are always shown.

group/hollow-left-4 – Media Controls

Modules: mpris, custom/previous, custom/pause, custom/next

A compact media player controller that integrates with MPRIS‑compatible players (Spotify, Firefox, etc.).

Module Description Interaction
mpris Displays currently playing song title and artist. Shows player‑specific icons (Spotify, Firefox) and a paused state indicator. Hover for tooltip with full details.
custom/previous Icon to skip to previous track. Click sends previous command to Spotify and YouTube Music.
custom/pause Play/pause toggle. Icon changes between (play) and (pause). Click toggles play state for Spotify.
custom/next Icon to skip to next track. Click sends next command to Spotify and YouTube Music.

group/hollow-left-5 – System Tray & Hardware

Modules: backlight, wireplumber, network, custom/power, battery

This group brings together hardware status indicators and the power menu.

Module Description Interaction
backlight Screen brightness level, shown as an icon that changes with brightness. No click action defined; purely informational.
wireplumber Audio volume level with mute indication. Icons change with volume. No click action (can be added).
network Network status – Wi‑Fi signal strength or Ethernet IP. Disconnected shows 󰖪. Click opens a custom RoFi Wi‑Fi menu script.
custom/power Power button icon. Click launches wlogout for session control.
battery Battery percentage and charging status. Icons represent charge level. Hover shows remaining time.

group/hollow-left-1 – Package Updates

Modules: custom/pacman, custom/pkg-aur

Two modules that display the number of available updates from official repositories and the AUR.

Module Description Interaction
custom/pacman Shows count of official package updates (from checkupdates). Click opens a terminal and runs sudo pacman -Syu.
custom/pkg-aur Shows count of AUR package updates (from yay -Qua). Purely informational; no click action.

Right Side Groups

group/hollow-right-5 – Active Window

Modules: hyprland/window

A single module that displays the title of the currently focused window.

Module Description Notes
hyprland/window Shows window title, truncated to 32 characters. Prefixed with 󰶞. separate-outputs: false – shows the window on the current output.

group/hollow-right-4 – Idle Inhibitor & Clock

Modules: idle_inhibitor, clock

Two small modules for time and idle management.

Module Description Interaction
idle_inhibitor Toggles whether the system can idle/suspend. Icon changes: 󰛊 (inactive) / 󰅶 (active). Click toggles inhibitor.
clock Shows current time in HH:MM format. Hover shows full calendar. Click (or format-alt) shows date.

group/hollow-right-1 – System Resources

Modules: cpu, temperature, memory

Real‑time system resource usage.

Module Description Interaction
cpu CPU usage percentage, prefixed with . Click opens btop in a Kitty terminal.
temperature CPU temperature (from thermal zone 2). Shows icon. Critical threshold at 80°C. Click opens btop.
memory RAM usage percentage, prefixed with . No click action.

group/hollow-right-3 – User Info

Modules: custom/user

Displays the current username.

Module Description Interaction
custom/user Shows whoami output, prefixed with . Click sends a notification with whoami@hostname.

Module Reference

Below is a quick reference of all modules used in the configuration, including those that are part of groups and any standalone modules (though none are placed outside groups in this config).

Module Name Purpose Group
hyprland/workspaces Workspace switcher left-2
mpris Now playing info left-4
custom/previous Previous track left-4
custom/pause Play/pause left-4
custom/next Next track left-4
backlight Screen brightness left-5
wireplumber Audio volume left-5
network Network status left-5
custom/power Power menu left-5
battery Battery status left-5
custom/pacman Official package updates left-1
custom/pkg-aur AUR package updates left-1
hyprland/window Active window title right-5
idle_inhibitor Idle inhibition toggle right-4
clock Time and date right-4
cpu CPU usage right-1
temperature CPU temperature right-1
memory RAM usage right-1
custom/user Username display right-3

Note: Some modules like tray, bluetooth, disk, custom/public-ip, custom/htb-vpn are defined in the configuration but not currently placed in any group. They can be added to groups as desired.


Final Thoughts

This module set balances essential system information with media controls and aesthetic simplicity. Each module is configured to be unobtrusive yet functional, and the grouping keeps the bar organised. Feel free to adapt the groups or add new modules to suit your own workflow.

If you have questions or suggestions, please reach out.

— HollowSec