Hyprland crashes upon git reset --hard if hyprland.conf is under version control #11255
Unanswered
mbwgh
asked this question in
Bugs - Crashes
Replies: 2 comments 6 replies
-
|
Are you under uwsm? I've seen that happen only under uwsm |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
@mbwgh can you try reproducing without uwsm? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Like my other dotfiles, I manage the hyprland.conf using a bare git repository.
That is, I have an alias
in my
~/.bashrc, and use commands likeconfig add <somefile> && config commit -m "Did some changes".For the hyprland.conf file, I can reproduce a "crash" using the following steps:
config reset --hard, thereby undoing any changes to the hyprland.confHyprland will then immediately revert to some default configuration state. That is:
At this point, all I can really do is reboot or start a new hyprland session.
Some files:
cat $XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr/ | head -n 2 | tail -n 1)/hyprland.log > crash.log: crash.logsudo journalctl -S today > journalctl.log: journalctl.loghyprland.conf.txt
While I have logs enabled, a crash report does not seem to exist in any of the locations described in the documentation.
Maybe somebody with more insight can give a hint about what's going on here?
Beta Was this translation helpful? Give feedback.
All reactions