Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/AMNatty/wleave

A Wayland-native logout script written in Gtk3
https://github.com/AMNatty/wleave

Last synced: 6 days ago
JSON representation

A Wayland-native logout script written in Gtk3

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-native logout script written in Gtk3

Basically a fork of [wlogout](https://github.com/ArtsyMacaw/wlogout), rewritten in Rust.

**wleave** is 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:
* gtk-layer-shell
* gtk3
* 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 identical to **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

* 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