The paths in this page are all links generated at the installation phase using stow, refer to the installation phase for the general structure
Configuration file structure #
Configuration is done trough 2 main files:
$HOME/.config/scripts/settings.sh.sample
this is the default configuration file that is versioned inside the repository and should be used as reference and never edited$HOME/.config/scripts/settings.sh
this is the main configuration file that is generated from the installation script and sources the sample one
All scripts and lib files sources the settings.sh
file that sources the sample one
flowchart LR A[some_script.sh] B[setting.sh] subgraph repo C[setting.sh.sample] end A -- source --> B -- source --> C
Editing the configuration file #
In order to edit the configuration file copy the interested variable from the settings.sh.sample
file inside the settings.sh
file following the comments guidelines inside the sample file, for example to change the folders synced using the nxtcdd.sh
utility (nextcloud script):
grep TEMPLATE_SERVICE "$HOME/.config/scripts/settings.sh.sample" >> "$HOME/.config/scripts/settings.sh"
# edit the file and add content
vim "$HOME/.config/scripts/settings.sh"