various updates
This commit is contained in:
parent
879b537682
commit
b6aa33509c
3 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue