mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Tweak presentation, drop the hotkey references
This commit is contained in:
@ -3,15 +3,14 @@
|
||||
# Power menu for Omarchy
|
||||
# Provides power off, restart, and sleep options
|
||||
|
||||
# Function to show power menu
|
||||
# Function to show power menu. The first characters are invisible sort keys.
|
||||
show_power_menu() {
|
||||
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 500 --height 195 -O alphabetical --style ~/.local/share/omarchy/config/wofi/omarchy-power-menu.css)
|
||||
local menu_options="\u200B Lock
|
||||
\u200C Sleep
|
||||
\u200D Relaunch
|
||||
\u2060 Restart
|
||||
\u2063 Shutdown"
|
||||
local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 150 --height 195 -O alphabetical --style ~/.local/share/omarchy/config/wofi/omarchy-power-menu.css)
|
||||
|
||||
case "$selection" in
|
||||
*Lock*) hyprlock ;;
|
||||
|
Reference in New Issue
Block a user