* ext: Give the ability to extract multiple files and wildcards
* Variable renaming
* Make user get prompted if extracted file overwrites another file
* Deleted ext
We have atool
* Replace ext with aunpack
* minor forgoten stuff
we already have shutdown in sudo loop
* why was this still here? it belongs in ~/.config/
* what the actual phucc
* implemented loginctl and fixed shebang
* Changed paru to yay due to new LARBS changes
* Fix & improve lf's moveto, copyto and cd to bm-dir
When using any of the above functions they returned exit code 1. This was due to the cut command having tab as the delimiter, but spaces are used in the bm-dirs file.
As an improvement comments are now automatically removed from the fzf options, because selecting those wouldn't work anyway.
The final sed command substituting "~" for "$HOME" is also removed because that doesn't seem to do anything looking at the current structure of the bm-dirs file.
The J bind needed more parsing and environment variable substitution because cd didn't work by default with values from a subshell.
* Automatically backup existing config files
* Return by pywal edited config files to normal if pywal is uninstalled.
Arch & Artix already have the `libarchive` pkg, which contains `bsdtar`.
So lets just use it, since its superior, faster, it also has easier syntax, and it auto-detects the compression.
btw the .tar.zst was wrong anyhow, so if u wont merge this, dont forget to fix that. from the manual:
```
-I, --use-compress-program=COMMAND
Filter data through COMMAND. It must accept the -d option, for decompression. The argument can contain command line options.
.....
--zstd Filter the archive through zstd(1).
```
* Make empty string check more consistent
Replace explicit empty string check condition with inbuilt POSIX compliant empty string check flag, in adherence with the rest of the script.
* Update test expression
This PR makes `dmenumount` script filter out all devices, which have childs. This way it won't suggest to mount your partitions which have LUKS or lvm setup on it.
If someone knows of a better way to do something, that'd be appreciated :)
* additionally extract from xml files
Before this, rssadd only accepted a URL as argument. Now, if given
an xml file, it will parse it and extract the proper url. This lets it
be used in conjunction with firefox for quickly adding RSS feeds (as
firefox would give it the file rather than its origin URL). This works
on a majority of RSS feeds, but fails on some that miss the proper link
tags. The original behaviour is still mantained alongside the new.
* remove surplus `exit`
* more performant grepping
* Handle color control sequences
Is: `less` outputs the raw ascii of the $chartfile, which includes escape characters to change output colors. This does not resemble a graph.
Should be: Adding -n flag to have `less` create colored output properly.
* typo
changed to -Srf to reflect proposed change
Tested it on a project with this structure:
```
- root
|- test
| - Test.java
```
The user must call `compiler` from the root of the project, but that should not
be an inconvenience because usually the working directory is the project's
root. Nonetheless, it also works for java files in the current working directory,
in case someone just wants to test some code quickly.
* Compatibility for FreeBSD's paste(1)
According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.
> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:
`find / -name bin -type d | paste -s -d : -`
* Compatibility for FreeBSD's paste(1)
According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.
> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:
`find / -name bin -type d | paste -s -d : -`