Skip to content

A simple anyrun plugin to shutdown computer or logout user session through systemd commands.

License

Notifications You must be signed in to change notification settings

kuokuo123/anyrun-powermenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,
)

About

A simple anyrun plugin to shutdown computer or logout user session through systemd commands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages