various updates
This commit is contained in:
parent
879b537682
commit
b6aa33509c
|
@ -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 @@
|
||||||
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'
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue