Commit graph

214 commits

Author SHA1 Message Date
Luke Smith
51d58e1260
Merge pull request #445 from i-c-u-p/patch-5
fix ParallelDownloads regex, add -E for 2 seds, shorten pacman color regex
2022-05-25 13:30:08 +00:00
Luke Smith
daa6b87f83
Merge pull request #454 from kronikpillow/missing-directories
Missing directories
2022-05-25 13:21:48 +00:00
Dejan Kutle
4b3fe796e1
mpd outputs a error due to playlists dir missing 2022-05-25 12:22:57 +02:00
Dejan Kutle
4bc17da548
abook launches with a error without this directory 2022-05-25 12:22:43 +02:00
Dejan Kutle
b207fd3f75
default group wheel ... 2022-05-25 10:38:39 +02:00
i-c-u-p
b3c1ab9cba
fix paralleldownloads and shorten seds via -E
since 231f3b2, the paralleldownloads sed doesn't remove it's comment
2022-05-20 08:27:12 +00:00
i-c-u-p
911d412fa5
revert 6251644, and partially 1bd9a35
in 6251644 the change to the makeflags sed also made it less specific, acting on lines matching "MAKEFLAGS" instead of "^#MAKEFLAGS". the change to the pacman color sed in 1bd9a35 once given the same correction only saves 1 character over the previous commit's more readable expression where "Color" appears twice, so it's reverted to that.
2022-04-28 11:34:00 +00:00
i-c-u-p
231f3b21f5
shorten paralleldownloads sed 2022-04-28 01:03:30 +00:00
i-c-u-p
625164460b
shorten sed expr for uncommenting makeflags 2022-04-27 11:50:19 +00:00
i-c-u-p
1bd9a35079
cleanup paralleldownloads regex
because the pattern ends with ".*" the "$" is useless. also made the sed for uncommenting "Colors" slightly shorter by using "/<pattern>$/s/^#//" instead of "s/^#<pattern>$/<pattern>/"
2022-04-27 10:22:06 +00:00
i-c-u-p
80c101f21d
Made larbs.sh executable
Changed permissions of larbs.sh from 644 to 755 to be able to run it via  with out first executing .
2022-04-06 02:50:30 +00:00
Luke Smith
fa17d7059f
Merge pull request #407 from suiljex/master
Fix ParallelDownloads
2022-03-29 02:04:26 +00:00
Luke Smith
7c6e686236
fix #408 2022-01-21 19:56:29 -05:00
Luke Smith
07b2c41f45
Merge branch 'master' of github.com:LukeSmithxyz/LARBS 2021-12-21 08:29:57 -05:00
Luke Smith
6cff6e9fe6
rss 2021-12-21 08:29:52 -05:00
suiljex
489c9a382c
Fix ParallelDownloads
Change sed regex to '^#ParallelDownloads.*$' so it can handle lines like
#ParallelDownloads = 5
#ParallelDownloads = 8
#ParallelDownloads<any other value>
2021-12-19 17:07:00 +07:00
Jamie
656168a885 Fix auto-enable arch repos
After enabling arch repos,  need to download database files.  Otherwise, calls to
`pacman -S` return errors that are suppressed by redirection to /dev/null.

Error Message:

```sh
warning: database file for 'extra' does not exist (use "-Sy" to download)
error: failed to prepare transcation (could not find database)
```

Fixes: https://github.com/LukeSmithxyz/LARBS/issues/393
2021-10-25 12:14:50 -04:00
Luke Smith
8a30c54cd4
regex fix #398 2021-10-22 11:40:03 -04:00
Luke Smith
f6beb58f41
automatically enable arch repositories on artix 2021-09-28 12:06:40 -04:00
Luke Smith
452e8cd717
slim commands 2021-09-23 16:47:29 -04:00
Luke Smith
125fae4ae9
Merge pull request #379 from anntnzrb/parallel-pacman-patch
Enable parallel downloads for Pacman
2021-09-23 16:44:52 -04:00
Luke Smith
e7d76e5d22
preinstall ca-certificates 2021-09-20 12:56:44 -04:00
Luke Smith
8abf92cbd7
Merge branch 'master' of github.com:LukeSmithxyz/LARBS 2021-09-06 17:20:07 -04:00
Luke Smith
99c35a39a3
yay fix? can't test now 2021-09-06 17:19:52 -04:00
anntnzrb
0dfb85faa8 Enable parallel downloads for Pacman 2021-08-24 10:05:42 -05:00
Luke Smith
672d1321a8
Merge pull request #378 from anntnzrb/stderr-patch
Log errors to stderr
2021-08-24 10:49:57 -04:00
anntnzrb
2f335c3c2e Log errors to stderr 2021-08-24 09:39:23 -05:00
anntnzrb
5308452390 Prefer pkill over killall 2021-08-23 15:33:45 -05:00
Luke Smith
b4167af0e7
paru was retarded and broken. install yay-bin 2021-08-23 12:40:56 -04:00
Luke Smith
f57d823134
fix #368 2021-07-12 16:53:29 -04:00
Youssef Bouzekri
20a1a1c84a
Use the paru AUR helper instead of yay 2021-06-26 14:48:46 -04:00
Luke Smith
42547f6155
fix #361 2021-06-24 20:36:25 -04:00
Luke Smith
88b03c6eb7
fix #360 2021-06-24 20:30:27 -04:00
Luke Smith
3dc1513d90
fix #352 2021-05-30 21:23:39 -04:00
Luke Smith
845b4b4604
clone with submodules, close #326 2021-02-18 17:49:36 -05:00
Luke Smith
5f205dde22
fix #323 2021-02-01 10:49:34 -05:00
Luke Smith
1728f734e1
create url file if not present 2021-01-09 16:41:35 -05:00
Luke Smith
0285bf9844
artix keyring fix 2020-11-06 12:51:05 -05:00
Luke Smith
9fdf6f6abc
Merge branch 'master' of github.com:LukeSmithxyz/LARBS 2020-11-06 12:50:18 -05:00
anntnzrb
63717dcb73 User-defined aliases/functions prevention 2020-11-06 10:56:34 -05:00
anntnzrb
8d01c333ed Added corresponding return statements codes 2020-11-06 10:52:03 -05:00
anntnzrb
9f2b936a7f Removed unnecessary sub-shell, use braces instead 2020-11-06 10:49:51 -05:00
anntnzrb
ada7cb718b Added corresponding exit codes
- Redirection to stderr `>&2` also added to the `printf` statement in the
  `error()` function
2020-11-06 10:34:51 -05:00
Luke Smith
cc6966b6d9
dumb 2020-11-04 14:31:00 -05:00
Kipras Melnikovas
cd5b32c591
fix the "tap-to-click" enabler
1. We need them quotes (`"`) where they are specified in the `40-libinput.conf` file, but if you use `echo` and echo surround the output string itself with the double quotes (`"`), the ones inside it will get removed. fixed.

pretty lucky that I just happened to be a part of the convo in https://github.com/LukeSmithxyz/LARBS/issues/118 to get a notification & thus notice & try out 1d8b03595a - Xorg reported an error and couldn't launch i3, so here we are:D

2. (misc since it doesn't matter as much here but anyhow) `echo` shouldn't be used in any scripts anyway because it's unpredictable, and `printf` should be preferred (imo, anyway. Just mind that you there's no extra newline so if you need one/expected one from echo - add it yourself):

```sh
# unpredictable echo (with newline by default, though not always)
$ echo "omg larbs so kewl"
omg larbs so kewl
$
```

```sh
# predictable printf without a newline by default
$ printf "omg larbs so kewl"
omg larbs so kewl $
```

```sh
# predictable printf with a newline because you said so
$ printf "omg larbs so kewl\n"
omg larbs so kewl
$
```

take care!
2020-10-12 19:35:19 +03:00
Luke Smith
1d8b03595a
turn on tap to click by default. fix #118 2020-10-11 15:27:51 -04:00
Luke Smith
936f530a79
fix? 2020-10-11 09:34:46 -04:00
Luke Smith
ac3a23c6a4
non-posix braces {} removed 2020-10-10 14:04:24 -04:00
Luke Smith
98485a873b
fluidsynth silent audio on startup fix 2020-10-08 10:17:11 -04:00
Luke Smith
8222b4cb87
minor tweaks 2020-09-12 19:37:43 -04:00