mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
10
migrations/1757879836.sh
Normal file
10
migrations/1757879836.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
echo "Ensure .config/hypr/looknfeel.conf is available and included"
|
||||
|
||||
if [[ ! -f ~/.config/hypr/looknfeel.conf ]]; then
|
||||
cp $OMARCHY_PATH/config/hypr/looknfeel.conf ~/.config/hypr/looknfeel.conf
|
||||
fi
|
||||
|
||||
if [[ -f ~/.config/hypr/hyprland.conf ]]; then
|
||||
grep -qx 'source = ~/.config/hypr/looknfeel.conf' ~/.config/hypr/hyprland.conf ||
|
||||
sed -i '/^source = ~\/.config\/hypr\/envs\.conf$/a source = ~/.config/hypr/looknfeel.conf' ~/.config/hypr/hyprland.conf
|
||||
fi
|
||||
Reference in New Issue
Block a user