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:
@@ -472,7 +472,7 @@ env = CHROMIUM_FLAGS,"--enable-features=UseOzonePlatform --ozone-platform=waylan
|
||||
env = XDG_DATA_DIRS,/usr/share:/usr/local/share:~/.local/share
|
||||
|
||||
# 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 = systemctl --user start hyprpolkitagent
|
||||
|
||||
Reference in New Issue
Block a user