Commit Graph
7 Commits
Author SHA1 Message Date
anntnzrbandGitHub bac8a110ec Screenshot utility improvements (maimpick) (#1114)
* maimpick delay for proper screenshots

An extra delay is needed for {window, full}-screenshots to prevent the
dmenu prompt from showing; example attached.

As of this writing I'm thinking the delay may vary depending on several
factors, to name a few... dmenu patches, compositor animations, etc.

* refactor to extract commonly used commands
2022-06-15 15:04:32 +00:00
anntnzrbandGitHub 7c96bd081a Compatibility for FreeBSD's paste(1) (#853)
* 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 : -`
2020-12-01 18:21:03 -05:00
anntnzrbandGitHub 1d9fda8826 read command fix (#848)
since the variable is not being used again, "_" wil suffice, "line" as the name
would also be valid.
2020-11-23 16:15:16 -05:00
anntnzrbandGitHub ca9b3952e6 Exit codes, stderr suppression, minor edits (#788)
This is a re-attempt of #643 

- `[ "$archive" = "" ]` may be replaced with `[ -z "$archive" ]`
- added exit codes
- upon entering `ext -c` with no arguments stderr will be thrown
from readlink, should be suppressed
2020-08-27 15:57:16 -04:00
anntnzrbandGitHub 62e555f906 Prevent user-defined aliases/commands checking (#785)
#748 
There's no stdout/stderr on this condition.
2020-08-04 10:14:03 -04:00
anntnzrbandGitHub ae9c12a861 Remove uneeded std suppression (#749)
There's no stdout/stderr on this condition.
2020-07-07 11:30:26 -04:00
anntnzrbandGitHub 53cdc0eb95 Prevent user-defined aliases/commands checking (#748)
Adding `[ -x ]` also checks if the command is an executable; if this
check is skipped, then user-defined aliases will interfere and validate
the condition (unintended).
2020-07-05 16:17:49 -04:00