* Programs that show ~/ or / instead of the actual working directory are now ignored by the script (except for zsh & lf where its correct). This will fix bugs where sd opens your home folder instead of the current working directory.
* This also removes the need for manually excluding all programs that don't show the correct cwd.
* git (and its sub-processes) will show the root of a repository instead of the actual cwd, so they're ignored too.
* Avoid expansion of file path containing spaces
* Do not trap INT signal on lfcd
* Untrap to stop trapping once lfcd quit
* Revert "Avoid expansion of file path containing spaces"
This reverts commit edcccf8f1bb0eb283aa332dc3a2d2b431eb6d189.
* Trap SIGINT again
eyeD3 got orphaned in the AUR, so I looked for an alternative. Apparently ffmpeg also supports the ability to tag audio files, so this pull request replaces all the helper applications with ffmpeg
* Fix tag script mp3 issue
When you don't manually specify $total and $date with an mp3 file the eyeD3 command tries tagging with an empty variable, which causes it to error. This fixes it by only passing the parameter to the command if the variable is set.
This pull request also adds support for the $genre and $comment variable.
* Remove double backslash
Make a temporary directory in $XDG_RUNTIME_DIR instead of $PASSWORD_STORE_DIR.
$XDG_RUNTIME_DIR defaults to /run/user/$uid/. This directory has the security advantage of only being readable and writable by the current user and being mounted in RAM, causing the screenshot to be fully wiped on shutdown and not needing shred, which doesn't work reliably on SSD's.
Also quoted $dir, for the off chance someone has spaces in their $PASSWORD_STORE_DIR.
Removed the check for xclip and the $issuer and $name variables, as they are unused.
If you're wondering why echo is piped into dmenu, on my system dmenu hung when called without the pipe, causing the whole script to freeze.