Skip to main content
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

otter-logout
Bind to a compositor hotkey. For example Super+Shift+E:
# Hyprland
bind = $mainMod SHIFT, E, exec, otter-logout

Configuration

Config file: ~/.config/otter-shell/otter-logout.conf
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 when omitted.

Keybindings

KeyAction
EscapeClose menu
EnterActivate focused button