Wlogout is a Wayland logout screen that presents a full-window grid of action buttons for common session and power management operations. In this setup it is triggered from two places: pressingDocumentation 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.
Super + M in Hyprland or clicking the ⏻ power button in Waybar. The interface is styled with the Dracula palette and displays six buttons — lock, hibernate, logout, shutdown, reboot, and suspend — each with an icon loaded from the system wlogout icon set.
How to trigger Wlogout
From Hyprland keybindings (hyprland.conf):
The
exit, dispatcher closes the Hyprland session directly. In practice, Super + M is listed as the exit binding in hyprland.conf, but the Waybar power button is what actually launches Wlogout ("on-click": "wlogout"). You can bind Wlogout to a key by replacing the exit, action with exec, wlogout.waybar/config):
Layout
The layout file defines six buttons as individual JSON objects. Each entry specifies a button label (used as a CSS id), the command to run, display text, and an optional keyboard shortcut.| Label | Keybind | Action |
|---|---|---|
| lock | L | Runs hyprlock to lock the screen |
| hibernate | H | Saves RAM to disk and powers off via systemctl hibernate |
| logout | E | Exits the Hyprland session via hyprctl dispatch exit 0 |
| shutdown | S | Powers off the system via systemctl poweroff |
| reboot | R | Reboots via systemctl reboot |
| suspend | U | Suspends to RAM via systemctl suspend |
hyprlock, the Hyprland screen locker. Its configuration lives at hypr/hyprlock.conf.
Hyprlock (lock screen)
The lock button runshyprlock. Its configuration at hypr/hyprlock.conf defines three sections: background, a clock label, and an input-field for the password prompt.
hyprlock.conf
The
path in the background block uses $USER — replace /home/$USER/Imágenes/wallpaper.jpg with the actual path to your wallpaper file if the $USER variable is not resolved correctly by hyprlock in your environment.CSS styling
Background
#282a36, expressed here as rgba(40, 42, 54, ...)) at 90% opacity, so the desktop is still faintly visible behind the menu.
Buttons (default state)
/usr/share/wlogout/icons/. The transition: all 0.3s ease property makes hover state changes animate smoothly.
Buttons (hover state)
#ff79c6), creating a clear visual focus indicator. The icon color inverts to the dark background color for contrast.
Per-button icons
Each button’s background image is set by its CSS id, which matches thelabel value from the layout file: