mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Merge pull request #1178 from cstrickjacke/waybar-power-menu
make clicking on the battery icon open the power menu
This commit is contained in:
@@ -382,6 +382,7 @@ go_to_menu() {
|
||||
*update*) show_update_menu ;;
|
||||
*system*) show_system_menu ;;
|
||||
*about*) alacritty --class Omarchy -o font.size=9 -e bash -c 'fastfetch; read -n 1 -s' ;;
|
||||
*power*) show_setup_power_menu ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
"tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
|
||||
"tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%",
|
||||
"interval": 5,
|
||||
"on-click": "omarchy-menu power",
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
|
||||
Reference in New Issue
Block a user