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:
2026-09-03 20:46:18 -04:00
parent d772b3952d
commit b6b738fc7b
24 changed files with 85 additions and 41 deletions
+11 -1
View File
@@ -4,10 +4,11 @@ term=xterm-256color
pad=6x6
initial-window-mode=windowed
workers=0
include=~/.config/omarchy/current/theme/foot.ini
include=~/.local/state/omarchy/current/theme/foot.ini
[scrollback]
lines=10000
multiplier=7.0
[cursor]
style=block
@@ -20,3 +21,12 @@ clipboard-paste=Shift+Insert Control+Shift+v XF86Paste
[tweak]
overflowing-glyphs=yes
[text-bindings]
# Send Shift+Return as CSI-u so TUIs can distinguish it from Return.
\x1b[13;2u=Shift+Return
# Send Alt+Shift+Return as CSI-u so tmux can match M-S-Enter.
\x1b[13;4u=Mod1+Shift+Return
+6
View File
@@ -189,3 +189,9 @@ wtl = worktree list
wtr = worktree remove
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
[credential "https://git.nca.uwo.ca"]
helper =
helper = !tea login helper
[credential "http://gitea.sagacity.ca"]
helper =
helper = !tea login helper
+25 -3
View File
@@ -1,21 +1,43 @@
onboarding = false
[ui]
show_agent_labels_on_pane_borders = true
pane_gaps = false
pane_borders = true
prompt_new_tab_name = false
confirm_close = false
# set -g mouse on
mouse_capture = true
# status-right had the zoom flag followed by #h
tab_bar_right = [{ type = "zoom" }, { type = "hostname" }]
# set -g set-titles on / set -g set-titles-string '#h:#W', where tmux's #W was
# the basename of the pane cwd. This is what Hyprland shows in the group bar,
# and it resolves on the server so remote sessions name the remote host.
window_title = "{hostname}: {workspace}"
[experimental]
pane_history = true
[theme]
name = "gruvbox"
auto_switch = true
name = "terminal"
[theme.custom]
panel_bg = "black"
[terminal]
new_cwd = "follow"
[keys]
prefix = "ctrl+space"
reload_config = "prefix+ctrl+r"
reload_config = "prefix+q"
help = "prefix+?"
detach = "prefix+d"
zoom = "prefix+z"
copy_mode = "prefix+["
last_pane = "prefix+;"
[remote]
manage_ssh_config = true
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
}
+1 -1
View File
@@ -37,4 +37,4 @@ on-button-left=exec sh -c 'omarchy-notification-dismiss "Install Dictation with
max-icon-size=80
format=<b>%s</b>\n%b
include=~/.config/omarchy/current/theme/mako.ini
include=~/.local/state/omarchy/current/theme/mako.ini