An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# wleave

![AUR version](https://img.shields.io/aur/version/wleave-git)
![GitHub](https://img.shields.io/github/license/AMNatty/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.

![The default Wleave menu look](example.png)

## 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 toolchain

You 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