aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/waybar/executable_restore-pending.sh
diff options
context:
space:
mode:
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