Commit 1982850
committed
fix(waybar): guard osConfig hyprland package access
The hyprctl fallback dereferenced osConfig.programs.hyprland.package
unconditionally, which throws on standalone Home Manager (osConfig
defaults to {}) when HM's hyprland package is null. Fall back to
pkgs.hyprland via an or-default, matching the uwsm guard pattern
already used in this file.1 parent 709a9e4 commit 1982850
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments