mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
6 Commits
d3b2cff9ce
...
1a1fe6ba52
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a1fe6ba52 | ||
|
|
71974b2cb1 | ||
|
|
093ab830cf | ||
|
|
f2f306269a | ||
|
|
b072f643a4 | ||
|
|
e4913ca2db |
@@ -76,9 +76,10 @@ if grep -q "\[s2idle\]" /sys/power/mem_sleep 2>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Regenerate initramfs
|
# Regenerate initramfs and boot entry
|
||||||
echo "Regenerating initramfs..."
|
echo "Regenerating initramfs..."
|
||||||
sudo limine-mkinitcpio
|
sudo limine-mkinitcpio
|
||||||
|
sudo limine-update
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|||||||
@@ -2,4 +2,6 @@
|
|||||||
|
|
||||||
# Reload opencode configuration (used by the Omarchy theme switching).
|
# 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
9
bin/omarchy-theme-refresh
Executable 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
|
||||||
@@ -4,6 +4,6 @@ omarchy-pkg-add tmux
|
|||||||
|
|
||||||
if [[ ! -f ~/.config/tmux/tmux.conf ]]; then
|
if [[ ! -f ~/.config/tmux/tmux.conf ]]; then
|
||||||
mkdir -p ~/.config/tmux
|
mkdir -p ~/.config/tmux
|
||||||
cp $OMARCHY/config/tmux/tmux.config ~/.config/tmux/tmux.conf
|
cp $OMARCHY_PATH/config/tmux/tmux.conf ~/.config/tmux/tmux.conf
|
||||||
omarchy-theme-reset
|
omarchy-theme-refresh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user