slackbuilds_ponce/system/xdg-ninja/README
Vijay Marcel 653c533c6e
system/xdg-ninja: Added ($HOME Dir Cleaner)
Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-06-03 10:38:16 +07:00

26 lines
1.1 KiB
Text

A shell script wich checks your $HOME for unwanted files
and directories. When it encounters a file it knows
about, it will tell you weather it is possible to move this
file to an appropriate location and how to do it.
The configuration is done in the programs/ directory, which
should be located in the same working directory as the xdg-ninja.sh
script. This can be overriden with the XN_PROGRAMS_DIR environment
variable.
You define a program, and then a list of files and directories
which this program ruthlessly puts into your $HOME directory.
For each file/directory, you specify if it can be (re)moved.
If this is the case, you also specify instructions
on how to accomplish this in Markdown.
Files in this directory can have any name, but using the
name of the program is encouraged.
bashrc file should be in your $HOME directory for it to work properly
and expects XDG environment variables to be in your bashrc.
set XN_PROGRAMS_DIR=/opt/$PRGNAM-$VERSION/programs in your bashrc.
This program is installed in /opt/$PRGNAM-$VERSION/ update $PATH
accordingly.