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

Unable to run with no config file #193

Open
SHADOW-REX opened this issue Aug 20, 2024 · 4 comments
Open

Unable to run with no config file #193

SHADOW-REX opened this issue Aug 20, 2024 · 4 comments

Comments

@SHADOW-REX
Copy link

SHADOW-REX commented Aug 20, 2024

Hyprpaper used to work earlier without any config files purely through ipc, but with the latest updates it errors out:
❯ hyprpaper & [1] 1588 [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] + 1588 IOT instruction hyprpaper

@jjonojj
Copy link

jjonojj commented Aug 21, 2024

+1, i got this issue too.

@Myphz
Copy link

Myphz commented Aug 24, 2024

Same as #192

@Marty42780
Copy link

It seems that creating an empty config file is enough to get Hyperpaper working again.

~ ❱ hyprpaper
[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.
fish: Job 1, 'hyprpaper' terminated by signal SIGABRT (Abort)

~ | 134 ❱ touch ~/.config/hypr/hyprpaper.conf

~ ❱ hyprpaper
[LOG] Welcome to hyprpaper!
built from commit  ()
[WARN] Monitor eDP-1 does not have a target! A wallpaper will not be created.
[LOG] hyprpaper socket started at /run/user/1000/hypr/9a09eac79b85c846e3a865a9078a3f8ff65a9259_1724682760_20702455/.hyprpaper.sock (fd: 4)

As previously mentioned by @Myphz this seems to be a revert of #87, is there any way to make the documentation aware of the change or restore the ability to not have a config file.

@SHADOW-REX
Copy link
Author

SHADOW-REX commented Sep 14, 2024

It seems that creating an empty config file is enough to get Hyperpaper working again.

You're right, and here i already updated my config to kill and restart hyprpaer on every wall change :)

PS: I'll keep the issue open for the other reason, Updating documentation.

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

4 participants