From 726005786ab398e89673bf8c141e50645f676c57 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 14 May 2026 10:58:37 +0100 Subject: style: apply shfmt/prettier/just fmt drift Pure formatter output from shfmt (2-space indent, '|' line breaks), prettier (KEYBINDS.md), and 'just fmt' (justfile blank line). No behavior change. --- dot_config/sway/executable_power-menu.sh | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'dot_config/sway/executable_power-menu.sh') diff --git a/dot_config/sway/executable_power-menu.sh b/dot_config/sway/executable_power-menu.sh index edb5949..bb5cafa 100644 --- a/dot_config/sway/executable_power-menu.sh +++ b/dot_config/sway/executable_power-menu.sh @@ -3,19 +3,24 @@ set -eu choice=$(printf '%s\n' \ - " Lock" \ - " Suspend" \ - " Logout" \ - " Reboot" \ - " Poweroff" \ - | wofi --dmenu --hide-search --prompt='power' \ - --style "$HOME/.config/wofi/style.css") + " Lock" \ + " Suspend" \ + " Logout" \ + " Reboot" \ + " Poweroff" | + wofi --dmenu --hide-search --prompt='power' \ + --style "$HOME/.config/wofi/style.css") case "$choice" in - *Lock) playerctl -a pause; exec swaylock -f -e -c 000000 ;; - *Suspend) playerctl -a pause; exec systemctl suspend ;; - *Logout) exec swaymsg exit ;; - *Reboot) exec systemctl reboot ;; - *Poweroff) exec systemctl poweroff ;; + *Lock) + playerctl -a pause + exec swaylock -f -e -c 000000 + ;; + *Suspend) + playerctl -a pause + exec systemctl suspend + ;; + *Logout) exec swaymsg exit ;; + *Reboot) exec systemctl reboot ;; + *Poweroff) exec systemctl poweroff ;; esac - -- cgit v1.3.1