From 48086ee69a1c594aba66235fa624d5b886f4f8cd Mon Sep 17 00:00:00 2001 From: urosm Date: Sat, 13 Jul 2024 21:59:53 +0200 Subject: [PATCH] .local/bin/status.sh: formatting --- .local/bin/status.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.local/bin/status.sh b/.local/bin/status.sh index 6d41eb3..0984389 100755 --- a/.local/bin/status.sh +++ b/.local/bin/status.sh @@ -21,11 +21,11 @@ while :; do # shellcheck disable=SC2002 cat /sys/class/power_supply/BAT0/capacity | jq -Mcj ' if .<20 then { - "full_text":([.," %"]|join("")), - "urgent":true, - } else { - "full_text":([.," %"]|join("")), - } end, ","' + "full_text":([.," %"]|join("")), + "urgent":true, + } else { + "full_text":([.," %"]|join("")), + } end, ","' # date date +%c | jq -RMcj '{ "full_text":., }, ","' # scratchpad