Commit b6aa3350 authored by Nico Schottelius's avatar Nico Schottelius

various updates

parent 879b5376
...@@ -4,8 +4,7 @@ acpi=$(acpi) ...@@ -4,8 +4,7 @@ acpi=$(acpi)
# Nothing to be done if we are charging # Nothing to be done if we are charging
if echo "$acpi" | grep -q Charging; then if echo "$acpi" | grep -q Charging; then
# exit 0 exit 0
:
fi fi
percent=$(echo $acpi | cut -d, -f2 | sed 's/%//') percent=$(echo $acpi | cut -d, -f2 | sed 's/%//')
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
exec 2>&1 exec 2>&1
if [ $# -ge 1 ]; then if [ $# -ge 1 ]; then
printf "Estimated location\n\n$@\n\n" printf 'Estimated location\n\n'
echo "$@"
printf '\n\n'
fi fi
printf 'My IP addresses\n\n' printf 'My IP addresses\n\n'
......
...@@ -6,8 +6,8 @@ i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json' ...@@ -6,8 +6,8 @@ i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json'
i3-msg 'workspace 10' i3-msg 'workspace 10'
# Start programs afterwards and watch matching # Start programs afterwards and watch matching
#if command -v firefox; then if command -v firefox; then
# firefox & firefox &
if command -v chromium; then if command -v chromium; then
chromium & chromium &
elif command -v chromium-browser; then 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