fix: theme ssot
This commit is contained in:
parent
026074a7fe
commit
9717cf3948
4 changed files with 14 additions and 1 deletions
|
|
@ -95,6 +95,10 @@ in
|
|||
[ -f "$_hm/etc/profile.d/hm-session-vars.sh" ] && . "$_hm/etc/profile.d/hm-session-vars.sh" && break
|
||||
done
|
||||
unset _hm
|
||||
_tf="''${XDG_STATE_HOME:-$HOME/.local/state}/theme"
|
||||
THEME="$(cat "$_tf" 2>/dev/null)" || THEME="midnight"
|
||||
export THEME
|
||||
unset _tf
|
||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec Hyprland
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue