https://github.com/AMNatty/wleave
A Wayland-native logout script written in GTK4
https://github.com/AMNatty/wleave
Last synced: 14 days ago
JSON representation
A Wayland-native logout script written in GTK4
- Host: GitHub
- URL: https://github.com/AMNatty/wleave
- Owner: AMNatty
- License: mit
- Created: 2023-02-21T22:37:46.000Z (about 2 years ago)
- Default Branch: development
- Last Pushed: 2025-02-03T19:33:20.000Z (2 months ago)
- Last Synced: 2025-02-03T20:19:51.687Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 188 KB
- Stars: 64
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hyprland - wleave - native logout script written in Gtk3) (Tools / Locking, Idle, Clipboard and Login)
README
# wleave

A Wayland layer-shell logout prompt, now ported to GTK4!
Basically a fork of [wlogout](https://github.com/ArtsyMacaw/wlogout), rewritten in Rust.
**wleave** is backwards-compatible with **wlogout** configuration files.

## Installation
### Arch Linux
**wleave** can be installed from the **AUR**:
```shell
paru -S wleave-git
```### Building from sources
Dependencies:
- gtk4-layer-shell
- gtk4
- a stable version of the Rust toolchainYou can run the application using `cargo run --release` or GNU make:
```shell
make
./target/release/wleave
```## Usage
The command line options are backwards-compatible with **wlogout**.
See `--help` for a list of options.## Help, how do I close the menu
The `` key closes the menu, an option to change this may be added eventually.
## Keybinds reference
See for a list of valid keybinds.
## Enhancements
- Natively GTK4 since version 0.5
- New pretty icons by [@earth-walker](https://github.com/earth-walker)
- Autoclose when window focus is lost (the `-f/--close-on-lost-focus` flag)
- Mnemonic labels (the `-k/--show-keybinds` flag)
- Pretty gaps by default
- Less error-prone
- Keybinds accept modifier keys and Unicode characters
- Easier to extend