Skip to content
forked from AMNatty/wleave

A Wayland-native logout script written in Gtk3

License

Notifications You must be signed in to change notification settings

earth-walker/wleave

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wleave

AUR version GitHub

A Wayland-native logout script written in Gtk3

Basically a fork of wlogout, rewritten in Rust.

wleave is compatible with wlogout configuration files.

Installation

Arch Linux

wleave can be installed from the AUR:

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:

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 <Esc> key closes the menu, an option to change this may be added eventually.

Keybinds reference

See https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gdk/keynames.txt for a list of valid keybinds.

Enhancements

  • 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

About

A Wayland-native logout script written in Gtk3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 74.9%
  • Shell 15.3%
  • CSS 8.4%
  • Makefile 1.4%