Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "$HOME/.config/filetags" for overriding default options #16

Open
novoid opened this issue Apr 19, 2018 · 3 comments
Open

Use "$HOME/.config/filetags" for overriding default options #16

novoid opened this issue Apr 19, 2018 · 3 comments

Comments

@novoid
Copy link
Owner

novoid commented Apr 19, 2018

If I want to override, e.g., the default tagtrees folder depth value, I want to use a user-related config file.

@novoid
Copy link
Owner Author

novoid commented Apr 29, 2018

This idea might be better "solved" via #17 because moving it to .filetags files allows for having different defaults for different sub-hierarchies of my file system.

@nbehrnd
Copy link
Collaborator

nbehrnd commented Jan 13, 2022

Later joining this party, I start to think the deposit of file .filetags containing the controlled vocabulary within the Linux' path ~/.config/filetags/ would be an advantage. Because the directory ~./config with configurations of many programs already is of special interest during a backup, this would offer storage in a place safer than just «in home», a level higher.

An observation (in Linux Debian 12) perhaps interesting to share: it is possible to use # in file .filetags to insert comments/temporarily mute individual entries. It equally is possible to organize entries in groups, separated by a single empty line, too.

@novoid
Copy link
Owner Author

novoid commented Jan 13, 2022

I do think that moving .filetags to somewhere else would break the pattern of "filtags is looking for the next .filetags up in the hierarchy".

However, the entries in .config/filetags would not contain tags. This file would contain different defaults. So I don't think that mixing "using other defaults" and "defining a set of tags for a certain sub-hierarchy" should be mixed.

And yes, comment lines have been implemented long time ago. The order of lines in the file is not relevant. The only thing that matters is if there are multiple tags in the same line (mutual exclusive tags) or not. I do use comments for my tags very often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants