git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 8007d1f644f7ca653987a4a3ff1f54ec5c44360f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## I'm Batman!

It's a simple shell script that can do two things:

1. Report the current battery charge and whether the battery is charging or not.
2. Shutdown the machine if the charge is below 5%, the battery is discharging,
   and the user is privileged to do so.

Currently I'm including this in a cron file. This repository should soon host a
systemd timer file as well.

To-Dos:

[ ] systemd timer file<br/>
[ ] use [/var]/run instead of /tmp for the "are we rebooting"-file<br/>
[ ] -h parameter and maybe even a manpage

## I'm Batman! [2]

Yeah, there's [B.A.T.M.A.N.](https://www.open-mesh.org/projects/open-mesh/wiki) I'm aware of this
redundancy, but Batman doesn't care! Also they [are using a redirection(!)](https://dropwww.com) to
www.

More seriously: I really don't care enough for now since I am only using this privately and for now
am NOT using the other stuff. Maybe if they drop www, they make me reconsider ;)

## Why?

Because I can :) There are other mechanisms out there, but I started this
script in unintended ignorance of these and now I finished it ;)