The Power Menu is a full-screen overlay that gives you quick access to system power actions. It appears as a semi-transparent backdrop covering the entire desktop, with a centred card displaying four options. A confirmation step prevents accidental actions: you must confirm your choice before the shell executes the command. You can dismiss the menu at any point by pressingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AhmedSaadi0/NibrasShell/llms.txt
Use this file to discover all available pages before exploring further.
Escape or clicking anywhere outside the card.
Available actions
| Action | What it does |
|---|---|
| Shutdown | Powers off the system immediately after confirmation. |
| Reboot | Restarts the system after confirmation. |
| Suspend | Suspends the system to RAM (sleep mode). |
| Logout | Ends the current Hyprland session. |
How to open the power menu
From the LeftBar
Click the Power icon at the bottom of the LeftBar icon strip. Unlike other LeftBar icons, this one does not open the side panel — it emits the
TOGGLE_POWER_MENU event directly, which makes the PowerMenuWindow visible.Confirmation step
After selecting an action, the power menu displays a confirmation dialog asking you to verify your choice. This prevents a mis-click from triggering an irreversible action. Click Confirm to proceed or Cancel to return to the option list.Closing the menu
You can exit the power menu without taking any action in three ways:- Press
Escape. - Click anywhere on the semi-transparent backdrop outside the card.
- Click Cancel in the confirmation dialog.
The
PowerMenuWindow is created as a single global instance in shell.qml and its visibility is toggled by the TOGGLE_POWER_MENU event from EventBus. It is not tied to a specific monitor, so the overlay always appears on the focused screen.