loserMcloser / waylogout

MIT License
35 stars 2 forks source link

waylogout

waylogout is graphical logout/suspend/reboot/shutdown dialog for wayland. It is inspired by oblogout and based on code from

Screenshot

Example Command

This is the command used to make the screenshot.

waylogout \
    --hide-cancel \
    --screenshots \
    --font="Baloo 2" \
    --fa-font="Font Awesome 6 Free" \
    --effect-blur=7x5 \
    --indicator-thickness=20 \
    --ring-color=888888aa \
    --inside-color=88888866 \
    --text-color=eaeaeaaa \
    --line-color=00000000 \
    --ring-selection-color=33cc33aa \
    --inside-selection-color=33cc3366 \
    --text-selection-color=eaeaeaaa \
    --line-selection-color=00000000 \
    --lock-command="echo 'Demo mode, lock command not configured. See man page.'" \
    --logout-command="echo 'Demo mode, logout command not configured. See man page.'" \
    --suspend-command="echo 'Demo mode, suspend command not configured. See man page.'" \
    --hibernate-command="echo 'Demo mode, hibernate command not configured. See man page.'" \
    --poweroff-command="echo 'Demo mode, poweroff command not configured. See man page.'" \
    --reboot-command="echo 'Demo mode, reboot command not configured. See man page.'" \
    --switch-user-command="echo 'Demo mode, switch-user command not configured. See man page.'" \
    --selection-label

Installation

From Packages

Compiling from Source

Install dependencies:

*Compile-time dep

**Optional: required for background images other than PNG

***Optional: man pages

Run these commands:

meson setup build
ninja -C build
sudo ninja -C build install

Effects

See the description of available effects in swaylock-effects.