chore: migrate omarchy state from ~/.config to ~/.local/state
Move all omarchy runtime state (themes, backgrounds, current theme) from ~/.config/omarchy/current to ~/.local/state/omarchy/current to keep the config dir free of generated files. Add mise task for recreating symlinks and update credential helpers for tea.
This commit is contained in:
@@ -164,7 +164,7 @@ function cycle_next_window(opts)
|
||||
|
||||
local win = hl.get_active_window()
|
||||
if win and win.floating then
|
||||
hl.dispatch(hl.dsp.window.alter_zorder({ mode = "top" }))
|
||||
hl.dispatch(hl.dsp.window.alter_zorder({ window = win, mode = "top" }))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -530,8 +530,8 @@ hl.bind(HYPR .. "S", dispatch_focus_or_launch({
|
||||
}), { description = "Music" })
|
||||
|
||||
hl.bind(HYPR .. "F", dispatch_focus_or_launch({
|
||||
match = "pcmanfm",
|
||||
cmd = "pcmanfm",
|
||||
match = "strata",
|
||||
cmd = "gtk-launch io.github.lgse.Strata.desktop",
|
||||
}), { description = "File Manager" })
|
||||
|
||||
-- Gestures
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
source = ~/.config/omarchy/current/theme/hyprlock.conf
|
||||
source = ~/.local/state/omarchy/current/theme/hyprlock.conf
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
@@ -8,7 +8,7 @@ general {
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = ~/.config/omarchy/current/background
|
||||
path = ~/.local/state/omarchy/current/background
|
||||
color = $color
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user