From c032a6aa37bc372b0299a6405a578f4ef1bffab4 Mon Sep 17 00:00:00 2001 From: Noah Penza Date: Mon, 7 Jul 2025 21:07:13 +1000 Subject: [PATCH] Adding shortcuts to power options --- bin/omarchy-power-menu | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/omarchy-power-menu b/bin/omarchy-power-menu index f967770..a393f8f 100755 --- a/bin/omarchy-power-menu +++ b/bin/omarchy-power-menu @@ -5,13 +5,13 @@ # Function to show power menu show_power_menu() { - local menu_options="\u200B Lock -\u200C󰤄 Sleep -\u200D Relaunch -\u2060󰜉 Restart -󰐥\u2063 Shutdown" # These first characters are invisible sort keys + local menu_options="\u200B Lock (Super + Escape) +\u200C󰤄 Sleep (Shift + Super + Escape) +\u200D Relaunch (Alt + Super + Escape) +\u2060󰜉 Restart (Ctrl + Super + Escape) +󰐥\u2063 Shutdown (Ctrl + Shift + Super + Escape)" # These first characters are invisible sort keys - local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 200 --height 195 -O alphabetical --style ~/.config/wofi/omarchy-power-menu.css) + local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 500 --height 195 -O alphabetical --style ~/.config/wofi/omarchy-power-menu.css) case "$selection" in *Lock*) hyprlock ;;