Remove needless comments

This commit is contained in:
David Heinemeier Hansson
2025-07-18 23:00:42 -05:00
parent ca69f15709
commit f99277ad71

View File

@ -1,15 +1,13 @@
#!/bin/bash #!/bin/bash
# Power menu for Omarchy
# Provides power off, restart, and sleep options
# Function to show power menu. The first characters are invisible sort keys.
show_power_menu() { show_power_menu() {
# The first characters are invisible sort keys.
local menu_options="\u200B Lock local menu_options="\u200B Lock
\u200C󰤄 Suspend \u200C󰤄 Suspend
\u200D Relaunch \u200D Relaunch
\u2060󰜉 Restart \u2060󰜉 Restart
\u2063󰐥 Shutdown" \u2063󰐥 Shutdown"
local selection=$(echo -e "$menu_options" | wofi --show dmenu --width 150 --height 195 -O alphabetical --style ~/.config/wofi/select.css) local selection=$(echo -e "$menu_options" | wofi --show dmenu --width 150 --height 195 -O alphabetical --style ~/.config/wofi/select.css)
case "$selection" in case "$selection" in
@ -21,5 +19,4 @@ show_power_menu() {
esac esac
} }
# Main execution
show_power_menu show_power_menu