Skip to content
laiso edited this page Feb 22, 2024 · 1 revision

Powermenu Module

  • Type : custom/menu

  • Description : Displays a customizable power menu with options for system power management operations such as reboot, shutdown, and hibernate.

  • How to modify :

    • Customize the icons and labels according to your preference by modifying the label-open, label-close, label-separator, menu-0-0, menu-0-1, menu-0-2, menu-1-0, menu-1-1, menu-2-0, menu-2-1, menu-3-0, menu-3-1 parameters.
    • Adjust the menu-<index>-<subindex>-exec lines to define the actions performed when each menu item is selected.
    • Save the changes to the module configuration file and refresh or restart Polybar to apply the modifications.
  • Icons Key :

    •  : Reboot icon
    •  : Shutdown icon
    • 🌙 : Hibernate icon
    •  : Return arrow icon
  • Menu Structure :

    • Powermenu

      • Reboot
      • Shutdown
      • Hibernate
    • Reboot

      • Confirm Reboot
      • Return to Powermenu
    • Shutdown

      • Confirm Shutdown
      • Return to Powermenu
    • Hibernate

      • Confirm Hibernate
      • Return to Powermenu
Clone this wiki locally