Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 720 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 720 Bytes

Anyrun-Powermenu

A simple anyrun plugin to shutdown computer or logout user session through systemd commands. The specific commands for each action can be customized through a config file, which allows non-systemd guys to use this plugin.

Usage

Simple as it seems.

Demo Video

Configuration

Default config

// <Anyrun config dir>/powermenu.ron

Config(

  prefix: "p ",

  engines: [

    Custom(
      name: "Lock",
      cmd: "swaylock",
      icon: "system-lock-screen",
    ),

    Logout,
    Suspend,
    Hibernate,
    Reboot,
    Shutdown,

  ],

  max_entries: 12,
)