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

add RC_DIR variable to Makefile (to facilitate packaging for NixOS) #152

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oberblastmeister
Copy link

I am trying to create a package in NixOS. Adding RC_DIR allows the nix package to override the directory.

@Shinyzenith
Copy link
Member

Hi! I should mention that even if this is merged, swhkd will always first look at /etc/swhkd/swhkdrc. So the --config flag has to be used.

@oberblastmeister
Copy link
Author

I was testing out swhkd and found that it cannot find XDG_CONFIG_HOME, possibly because of pkexec? Is this supposed to be an issue?

@Shinyzenith
Copy link
Member

I was testing out swhkd and found that it cannot find XDG_CONFIG_HOME, possibly because of pkexec? Is this supposed to be an issue?

Yes this is a problem due to our pkexec model of privilege escalation. I haven't figured out a way to combat this yet :(

@Shinyzenith
Copy link
Member

I was testing out swhkd and found that it cannot find XDG_CONFIG_HOME, possibly because of pkexec? Is this supposed to be an issue?

This will hopefully change with the following issue: #183

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

Successfully merging this pull request may close these issues.

None yet

2 participants