From 393767cbeca1f8d21693f68b7a536275a9081fa2 Mon Sep 17 00:00:00 2001 From: Cai Strickland Date: Wed, 27 Aug 2025 15:49:33 +0200 Subject: [PATCH] make clicking on the battery open the power menu Bothered me that the power profile setting was so hidden away, so I made it pop up by clicking the battery icon. :) --- bin/omarchy-menu | 1 + config/waybar/config.jsonc | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/omarchy-menu b/bin/omarchy-menu index f5179cb..e457e65 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -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 } diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 7ff8c0e..7c8855c 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -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