diff --git a/battery-check.sh b/battery-check.sh index abe4400..f4f9483 100755 --- a/battery-check.sh +++ b/battery-check.sh @@ -4,8 +4,7 @@ acpi=$(acpi) # Nothing to be done if we are charging if echo "$acpi" | grep -q Charging; then - # exit 0 - : + exit 0 fi percent=$(echo $acpi | cut -d, -f2 | sed 's/%//') diff --git a/notebook-stats b/notebook-stats index e91bb40..baa09c0 100755 --- a/notebook-stats +++ b/notebook-stats @@ -3,7 +3,9 @@ exec 2>&1 if [ $# -ge 1 ]; then - printf "Estimated location\n\n$@\n\n" + printf 'Estimated location\n\n' + echo "$@" + printf '\n\n' fi printf 'My IP addresses\n\n' diff --git a/start-post-i3 b/start-post-i3 index f0a6af4..42feae2 100755 --- a/start-post-i3 +++ b/start-post-i3 @@ -6,8 +6,8 @@ i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json' i3-msg 'workspace 10' # Start programs afterwards and watch matching -#if command -v firefox; then -# firefox & +if command -v firefox; then + firefox & if command -v chromium; then chromium & elif command -v chromium-browser; then