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

fix: hyprpaper not starting without hyprpaper.conf #19

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Conversation

adamperkowski
Copy link
Member

hyprpaper fails if there is no config file available:

[LOG] Welcome to hyprpaper!
built from commit  ()
terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not find config in HOME, XDG_CONFIG_HOME, XDG_CONFIG_DIRS or /etc/hypr.
[1]    16517 IOT instruction (core dumped)  hyprpaper

this adds a check for ~/.config/hypr/hyprpaper.conf and creates the file (with parent dirs) if it doesn't exist

@adamperkowski adamperkowski added the bug Something isn't working label Oct 24, 2024
@nnyyxxxx nnyyxxxx merged commit e7966b9 into main Oct 24, 2024
3 checks passed
@nnyyxxxx nnyyxxxx deleted the hyprpaper_config branch October 24, 2024 09:50
nnyyxxxx added a commit to nnyyxxxx/dotfiles that referenced this pull request Oct 25, 2024
nnyyxxxx added a commit to nnyyxxxx/dotfiles that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants