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
Luke Smith
f47e40243f
clean up
2021-03-07 15:07:41 -05:00
Luke Smith
11d4f16fb4
close #832
...
proper user id
2020-11-14 15:09:25 -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
JameyBear
f820ccf4dd
Shellcheck ( #676 )
...
Co-authored-by: WhispersOfJ <kaotiks@gmail.com>
2020-06-01 15:29:57 -04:00
Luke Smith
080365dd22
pgrep is a little slow, slower than ps | grep
2020-04-11 10:03:33 -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
9fe6802122
oops for config
2020-04-08 19:10:00 -04:00
Luke Smith
422d106fba
assume default values if xdg dirs not set
2020-04-08 17:21:40 -04:00
Dennis Lee
a29eaec506
substitute ~/.config with $XDG_CONFIG_HOME
2020-04-04 13:00:08 -07:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized.
2020-02-08 18:43:37 -05:00
Evan Harvey
251daef5bf
Fix spelling ( #432 )
2020-01-27 07:49:12 -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