fix(hyprland): use $HOME instead of ~ for theme source path

Use $HOME in `config/hypr/hyprland.conf` to ensure the theme file path is
expanded correctly. Some processes do not expand `~`, causing the theme
not to be sourced; `$HOME` is reliably expanded by the environment.
This commit is contained in:
2026-03-03 20:08:31 -05:00
parent 465a006027
commit 0ad52f54ab
+1 -1
View File
@@ -472,7 +472,7 @@ env = CHROMIUM_FLAGS,"--enable-features=UseOzonePlatform --ozone-platform=waylan
env = XDG_DATA_DIRS,/usr/share:/usr/local/share:~/.local/share env = XDG_DATA_DIRS,/usr/share:/usr/local/share:~/.local/share
# Source a file (multi-file configs) # Source a file (multi-file configs)
source = ~/.local/share/themes/current/theme/hyprland.conf source = $HOME/.local/share/themes/current/theme/hyprland.conf
exec-once = dbus-update-activation-environment --systemd --all exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent