Skip to content

stefonarch/lxqt-wlogout

 
 

Repository files navigation

lxqt-wlogout

Example

lxqt-wlogout is a logout menu for wayland environments which exits also a running LXQt-session. It is a simple fork of wlogout and can be installed alongside.

Running

Run lxqt-wlogout to launch and press Escape to exit.

Config

If you editing the default layout and css file it is recommended that you copy /etc/lxqt-wlogout/layout and /etc/lxqt-wlogout/style.css to ~/.config/lxqt/lxqt-wlogout/ or to ~/.config/lxqt-wlogout/ and edit them there.

Layout

Custom buttons can be defined and edited in a layout file. The format is as follows:

{
    "label" : "CSS Label",
    "action" : "command to execute when clicked",
    "text" : "text displayed on button",
    "keybind" : "character to be bound"
}

By default after terminating the LXQt-session it sends SIGTERM to $WAYLAND_COMPOSITOR.

Check the default layout file for examples and run man 5 lxqt-wlogout for documentation.

Style

lxqt-wlogout can be easily styled through the style.css file; If you would like to style a button use the label given to it in the layout file, and for other styling refer to the GTK Manual which shows all the allowed css.

Install

Compiling from Source

Install dependencies:

  • GTK+
  • GObject introspection
  • meson
  • gtk-layer-shell (optional: transperancy)
  • scdoc (optional: man pages)
  • systemd (optional: default buttons)
  • swaylock (optional: default buttons)

Run these commands:

git clone https://github.com/stefonarch/lxqt-wlogout
cd lxqt-wlogout
meson build
ninja -C build
sudo ninja -C build install

License

lxqt-wlogout is licensed under MIT. Refer to LICENSE for more information

About

A wayland based logout menu for LXQt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.9%
  • Meson 7.3%
  • Shell 6.2%
  • CSS 3.6%