Compare commits

...

6 Commits

Author SHA1 Message Date
David Heinemeier Hansson
1a1fe6ba52 Merge branch 'dev' into tmux 2026-02-09 22:59:09 +01:00
David Heinemeier Hansson
71974b2cb1 Fix 2026-02-09 22:59:01 +01:00
David Heinemeier Hansson
093ab830cf Add way to refresh theme from its templates (when they've changed) 2026-02-09 22:58:58 +01:00
Serpent
f2f306269a Avoid error if opencode isn't running. (#4566) 2026-02-09 22:58:34 +01:00
David Heinemeier Hansson
b072f643a4 Merge branch 'dev' into tmux 2026-02-09 22:34:55 +01:00
David Heinemeier Hansson
e4913ca2db Update boot entry 2026-02-09 22:34:43 +01:00
4 changed files with 16 additions and 4 deletions

View File

@@ -76,9 +76,10 @@ if grep -q "\[s2idle\]" /sys/power/mem_sleep 2>/dev/null; then
fi
fi
# Regenerate initramfs
# Regenerate initramfs and boot entry
echo "Regenerating initramfs..."
sudo limine-mkinitcpio
sudo limine-update
echo

View File

@@ -2,4 +2,6 @@
# Reload opencode configuration (used by the Omarchy theme switching).
killall -SIGUSR2 opencode
if pgrep -x opencode >/dev/null; then
killall -SIGUSR2 opencode
fi

9
bin/omarchy-theme-refresh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Refresh the current theme from its templates.
THEME_NAME_PATH="$HOME/.config/omarchy/current/theme.name"
if [[ -f $THEME_NAME_PATH ]]; then
omarchy-theme-set "$(cat $THEME_NAME_PATH)"
fi

View File

@@ -4,6 +4,6 @@ omarchy-pkg-add tmux
if [[ ! -f ~/.config/tmux/tmux.conf ]]; then
mkdir -p ~/.config/tmux
cp $OMARCHY/config/tmux/tmux.config ~/.config/tmux/tmux.conf
omarchy-theme-reset
cp $OMARCHY_PATH/config/tmux/tmux.conf ~/.config/tmux/tmux.conf
omarchy-theme-refresh
fi