> ## Documentation Index
> Fetch the complete documentation index at: https://docs.otter-shell.org/llms.txt
> Use this file to discover all available pages before exploring further.

# otter-logout

> Power menu overlay for lock, logout, suspend, reboot, and shutdown.

`otter-logout` is the power menu: lock, logout, suspend, reboot, shutdown. Bind it to a hotkey or the bar menu. One process when open; it exits after you pick an action or dismiss.

## Usage

```bash theme={null}
otter-logout
```

Bind to a compositor hotkey. For example `Super+Shift+E`:

```ini theme={null}
# Hyprland
bind = $mainMod SHIFT, E, exec, otter-logout
```

## Configuration

Config file: `~/.config/otter-shell/otter-logout.conf`

```conf theme={null}
icon_size = 64
button_size = 120
button_spacing = 24
overlay_color = "#000000aa"

lock_label = "Lock"
lock_icon = "system-lock-screen"
lock_exec = "loginctl lock-session"

logout_label = "Logout"
logout_icon = "system-log-out"
logout_exec = "loginctl terminate-session self"

sleep_label = "Suspend"
sleep_icon = "system-suspend"
sleep_exec = "systemctl suspend"

reboot_label = "Reboot"
reboot_icon = "system-reboot"
reboot_exec = "systemctl reboot"

shutdown_label = "Shutdown"
shutdown_icon = "system-shutdown"
shutdown_exec = "systemctl poweroff"
```

Each button's label, XDG icon name, and shell command are configurable. Colors inherit from [theme.conf](/configuration/themes) when omitted.

## Keybindings

| Key    | Action                  |
| ------ | ----------------------- |
| Escape | Close menu              |
| Enter  | Activate focused button |
