stumpwm.stumpwm-contrib/util/end-session/README.org
sdilts 99b25d625e Add end-session module
+ see the README.org for details
2018-02-15 13:53:11 -07:00

797 B

end-session

This module provides commands to gracefully close all open programs and shutdown or reboot the computer. A logout command is also provided.

This module requires the use of systemD, and requires the polkit package to be installed, as well as the wmctl command.

Usage

Add these lines to your .stumprc file:

  ;; if you haven't added to load path yet:
  (add-to-load-path #p"path-to-contrib/util/end-session")
  ;; actually load the module
  (load-module "end-session")

Commands Provided:

  • end-session Prompts for shutdown, restart, or logoff. You can customize what this shows with *end-session-menu*. See session-ending.lisp::77
  • shutdown-computer
  • restart-computer
  • logout