Skip to content

Commit

Permalink
Document that hyprlock config is required. (#928)
Browse files Browse the repository at this point in the history
Without a config, hyprlock fails with:

```
[CRITICAL] ConfigManager threw: Could not find config in HOME, XDG_CONFIG_HOME, XDG_CONFIG_DIRS or /etc/hypr.
```

This was mentioned in hyprwm/hyprlock#450 and closed with

>  hyprlock with no config is more confusing than anything, as it will not render anything

So I'm assuming this is behaving as expected and the docs just need to be fixed.
  • Loading branch information
rcorre authored Jan 4, 2025
1 parent 74f9126 commit 0b98e91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/Hypr Ecosystem/hyprlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ for Hyprland.

## Configuration

Configuration is done via the config file at `~/.config/hypr/hyprlock.conf`. It
is not required, but recommended. Without it, locking shows the current screen.
Configuration is done via the config file at `~/.config/hypr/hyprlock.conf`. This file must exist to run `hyprlock`.

### Variable types

Expand Down

0 comments on commit 0b98e91

Please sign in to comment.