Files
dotfiles/dot_config/waybar/waybar.wiki/Module:-User.md
s0wlz (Matthias Puchstein) 8018b53353 feat: finalize migration to chezmoi and modernize configuration logic
- Modularize Hyprland config into hyprland.d/
- Implement infinitely scalable monitor/workspace logic using templates and loop-based data structures
- Consolidate host-specific configs (hyprlock, hyprpaper, waybar) into single templates
- Resolve waybar symlink conflict and fix template execution errors
- Integrate chezmoi data variables for scale, resolution, and peripherals
2025-12-27 22:52:43 +01:00

2.2 KiB

The user module displays the current user name with avatar and system uptime.

Config

Addressed by user

option typeof default description
interval integer 60 The interval in which the information gets polled.
format string {user} {work_H}:{work_M} The format, how the information should be displayed.
avatar string $HOME/.face Path to custom image
height integer 30 Avatar height
width integer 30 Avatar width
icon bool false Option to enable avatar icon
open-on-click bool true Option to enable path opening
open-path string $HOME folder path

Format replacements:

string replacement
{up_H} System startup time
{up_M} System startup minute
{up_d} System startup day
{up_m} System startup month
{up_Y} System startup year
{work_H} System uptime hours by day
{work_M} System uptime minutes
{work_S} System uptime seconds
{work_d} System startup days
{user} Username

Example:

"user": {
        "format": "{user} (up {work_d} days ↑)",
        "interval": 60,
        "height": 30,
        "width": 30,
        "icon": true,
}