9 Commits

Author SHA1 Message Date
vlad doster
eed099b954 Cohesive shell script formatting
- Format all shell scripts using [shfmt]
  (https://github.com/mvdan/sh).

Options used:

* `-bn`: binary ops like && and | may start a line
* `-sr`: redirect operators will be followed by a space
* `-ci`: indent switch cases
* `-i 4`: indent 4 spaces
* `-s`: simplify the code
* `-p`: parse for posix compliance

- Add Github action to lint changes to scripts and enforce formatting
  going forward

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2021-03-15 06:16:20 -05:00
PCFreak2000
f08e37bdad
Added missing value for parameter (#830)
The value of the "-c" parameter was missing, so the check for an active internet connection as well as the whole script failed.
2020-10-24 11:43:19 -04:00
Luke Smith
1ca7338596
ping example.org instead of cloudflare's 1.1.1.1 2020-07-02 15:35:15 -04:00
Luke Smith
6f36fe3169
STATUSBAR uncommented only for i3, cleanup, probably broke everything LOL 2020-04-10 22:53:45 -04:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized. 2020-02-08 18:43:37 -05:00
Luke Smith
3a91dc30f2
use STATUSBAR variable safely 2019-11-24 08:10:31 -05:00
Luke Smith
a5e66ac4f4
merger of bin 2019-11-23 16:16:30 -05:00
Luke Smith
840c690539 cron deleted 2019-05-18 16:23:21 -04:00
Luke Smith
54920103c2 scripts moved to ~/.local/bin 2019-05-18 00:07:32 -04:00