7 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
Hekuran
7f139718e9
UAE - update autisticly efficient (#838) 2020-11-08 19:49:34 -05:00
Kian Kasad
3222354d50
make use of setsid(1)'s -f flag (#652)
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
2020-05-30 17:01:18 -04:00
Wis
a08904d88a
mpv config: use mpvSockets script to remove mpv wrappers/aliases (#544)
* add scripts to mpv's cfg \w mpvSockets as 1st dependency and\or script

* remove all usage of --input-ipc-server in all cmds

* remove mpv alias that adds --input-ipc-server

* fix pauseallmpv: correct paths to unix socket files

* fix dependency-scripts loading so it works also when opening files off main disk
2020-04-08 21:35:03 -04:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized. 2020-02-08 18:43:37 -05:00
Luke Smith
1bca65bfc2
portable shebang 2019-08-18 12:28:11 -04:00
Luke Smith
c6e69e9642 massive cleanup 2019-05-19 20:05:14 -04:00