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

[Feature request] XDG compliance #26

Open
erisdev opened this issue Jun 26, 2024 · 0 comments
Open

[Feature request] XDG compliance #26

erisdev opened this issue Jun 26, 2024 · 0 comments

Comments

@erisdev
Copy link

erisdev commented Jun 26, 2024

I don't know if you're interested in updating this, but I've got a couple minor gripes on the off chance you are:

  • The configuration file should be something like $XDG_CONFIG_HOME/huekeys.toml or $XDG_CONFIG_HOME/huekeys/config.toml, not ~/.huekeys. Putting dotfiles directly in the home folder creates clutter. I think it would be reasonable to also check the old location as a fallback.

  • The socket and pid files by default should go in $XDG_RUNTIME_DIR. This is where any user-specific ipc sockets, temporary files, etc. belong.

See the XDG Base Directory Specification for details if you're not familiar with the standard.

(Great tool otherwise. I appreciate the IPC socket the most. I'm using it to signal notifications by changing the keyboard backlight to my i3 urgent window color)

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

No branches or pull requests

1 participant