Commit b6aa3350 authored by Nico Schottelius's avatar Nico Schottelius

various updates

parent 879b5376
......@@ -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/%//')
......
......@@ -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'
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment