various updates

This commit is contained in:
Nico Schottelius 2019-12-08 19:28:42 +01:00
parent 879b537682
commit b6aa33509c
3 changed files with 6 additions and 5 deletions

View File

@ -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/%//')

View File

@ -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'

View File

@ -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