aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/waybar/executable_restore-pending.sh
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
commit0c15212f4f2389f743b17cb6ceff50f1f9267a1b (patch)
tree9db73d86cfebc23b3032b32a1cc3be7b1e8bef38 /dot_config/waybar/executable_restore-pending.sh
parent2970b9dddc6b89705a6836fa0864fb841925ff6f (diff)
downloaddotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.gz
dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.bz2
dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.zip
style: apply formatter drift across repo
Pre-existing whitespace/style drift caught by `just check`. Touch nothing semantic — pure formatter output (shfmt -i 2 -ci -s, ruff, prettier, taplo). Excludes dot_config/clangd/config.yaml whose manual indentation is intentionally preserved.
Diffstat (limited to 'dot_config/waybar/executable_restore-pending.sh')
-rw-r--r--dot_config/waybar/executable_restore-pending.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dot_config/waybar/executable_restore-pending.sh b/dot_config/waybar/executable_restore-pending.sh
index 028de0e..3a08c4f 100644
--- a/dot_config/waybar/executable_restore-pending.sh
+++ b/dot_config/waybar/executable_restore-pending.sh
@@ -11,9 +11,9 @@ command -v makoctl >/dev/null 2>&1 || exit 0
# mako's history is most-recent-first; the next restore() target is the
# top of the list at the time of the call.
-top_id=$(makoctl history 2>/dev/null \
- | sed -n 's/^Notification \([0-9][0-9]*\):.*/\1/p' \
- | head -n1 || true)
+top_id=$(makoctl history 2>/dev/null |
+ sed -n 's/^Notification \([0-9][0-9]*\):.*/\1/p' |
+ head -n1 || true)
makoctl restore || true
if [ -n "${top_id:-}" ] && [ -s "$state" ]; then