
* Change launcher from wofi -> walker * Add migration * More wofi -> walker locations * Add rose pine theme * Rename refresh script * Minor improvements to walker + add uwsm * Back out running as service * Make these executable * Add plugins dir for now to resolve open issue 355 from v0.13.0 release * Replace pavucontrol with wiremix (#225) Add to install * Revert "Replace pavucontrol with wiremix (#225)" This reverts commit 620b397859698cdc8e6207d33533c70e0e795171. * Fix reference * Add libqalculate so calc works out of the box * Actually add libqalculate * Re-add media * Add catppuccin-latte * Final cleanup * Remove partially baked theme * Remove failing migration * Remove failing migration * Fix refresh script * Simplify css setup * Rearrange walker theme files * Change theme name * Remove unnecessary file * Clear everything * Only worry about the config file now * Disable load in animation for walker * Run walker as service * Make sure we have fresh package db * Add keybindings theme * Remove history * Explain section * Assume wofi is gone, only run if walker isn't there * Move as the latest --------- Co-authored-by: David Heinemeier Hansson <david@hey.com> Co-authored-by: Roeland <roel4d@webding.org>
22 lines
480 B
Bash
Executable File
22 lines
480 B
Bash
Executable File
#!/bin/bash
|
|
|
|
show_power_menu() {
|
|
# The first characters are invisible sort keys.
|
|
local menu_options="\u200B Lock
|
|
\u200C Suspend
|
|
\u200D Relaunch
|
|
\u2060 Restart
|
|
\u2063 Shutdown"
|
|
local selection=$(echo -e "$menu_options" | walker --dmenu --theme dmenu_150)
|
|
|
|
case "$selection" in
|
|
*Lock*) hyprlock ;;
|
|
*Suspend*) systemctl suspend ;;
|
|
*Relaunch*) uwsm stop ;;
|
|
*Restart*) systemctl reboot ;;
|
|
*Shutdown*) systemctl poweroff ;;
|
|
esac
|
|
}
|
|
|
|
show_power_menu
|