nevaforget e6de12ea4b feat: add user avatar and username, match moonlock icon style
- Add users.py with avatar detection (pwd, AccountsService, ~/.face)
- Display avatar + username above action buttons
- Look up 22px icon variant (same as moonlock) and render at 64px
- Round action buttons (border-radius 50%)
- 9 new tests for user/avatar detection (63 total)
2026-03-27 14:30:17 +01:00

Moonset

Wayland Session Power Menu für das Moonarch-Ökosystem.

Per Keybind aufrufbares Fullscreen-Overlay mit 5 Aktionen: Lock · Logout · Hibernate · Reboot · Shutdown

Features

  • GTK4 + gtk4-layer-shell (OVERLAY Layer — über Waybar)
  • Catppuccin Mocha Theme
  • Multi-Monitor-Support (Wallpaper auf Sekundärmonitoren)
  • Inline-Confirmation für destruktive Aktionen
  • Escape oder Hintergrund-Klick zum Schließen
  • DE/EN Lokalisierung
  • Konfigurierbare Wallpaper (TOML)

Installation

uv pip install .

Verwendung

# Direkt starten
moonset

# Per Niri-Keybind (in ~/.config/niri/config.kdl)
# binds {
#     Mod+Escape { spawn "moonset"; }
# }

Konfiguration

Konfigurationsdatei: ~/.config/moonset/moonset.toml oder /etc/moonset/moonset.toml

# Pfad zum Hintergrundbild (optional)
background_path = "/usr/share/moonarch/wallpaper.jpg"

Wallpaper-Fallback: Konfiguration → /usr/share/moonarch/wallpaper.jpg → Package-Wallpaper

Entwicklung

# Tests
uv run pytest tests/ -v

# Type-Check
uv run pyright src/

Teil des Moonarch-Ökosystems

  • moonarch — Reproduzierbares Arch-Linux-Setup
  • moongreet — greetd Greeter für Wayland
  • moonlock — Wayland Lockscreen
  • moonset — Session Power Menu
Description
No description provided
Readme 845 KiB
Languages
Rust 95%
CSS 3.6%
Shell 1.4%