A Wayland-native logout script written in Gtk3
Basically a fork of wlogout, rewritten in Rust.
wleave is compatible with wlogout configuration files.
wleave can be installed from the AUR:
paru -S wleave-git
Dependencies:
- gtk-layer-shell
- gtk3
- a stable version of the Rust toolchain
You can run the application using cargo run --release
or GNU make:
make
./target/release/wleave
The command line options are identical to wlogout.
See --help
for a list of options.
The <Esc>
key closes the menu, an option to change this may be added eventually.
See https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gdk/keynames.txt for a list of valid keybinds.
- Autoclose on when window focus is lost (the
-f/--close-on-lost-focus
flag) - Pretty gaps by default
- Less error-prone
- Keybinds accept modifier keys and Unicode characters
- Easier to extend