[module/powermenu] type = custom/menu # This is actually a menu type. # If true, will be to the left of the menu items (default). # If false, it will be on the right of all the items. expand-right = true format-spacing = 1 # Available tags: # (default) - gets replaced with # (default) # If expand-right is true, the default will be "" and the # other way around otherwise. # Note that if you use you must also include # the definition for # format = label-open =  label-open-underline = ${colors.red} # label-open-foreground = ${colors.cyan} label-close =  label-close-underline = ${colors.red} # label-close-foreground = ${colors.cyan} label-separator = | # label-separator-foreground = ${colors.foreground-alt} # "menu-LEVEL-N" has the same properties as "label-NAME" with # the additional "exec" property # Commands will be executed using "/bin/sh -c $COMMAND" menu-0-0 = reboot menu-0-0-exec = menu-open-1 menu-0-1 = power off menu-0-1-exec = menu-open-2 menu-1-0 = cancel menu-1-0-exec = menu-open-0 menu-1-1 = reboot menu-1-1-exec = reboot menu-2-0 = power off menu-2-0-exec = shutdown now menu-2-1 = cancel menu-2-1-exec = menu-open-0