mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
@@ -82,10 +82,11 @@ show_learn_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_style_menu() {
|
show_style_menu() {
|
||||||
case $(menu "Style" " Theme\n Font\n Background\n Screensaver\n About") in
|
case $(menu "Style" " Theme\n Font\n Background\n Hyprland\n Screensaver\n About") in
|
||||||
*Theme*) show_theme_menu ;;
|
*Theme*) show_theme_menu ;;
|
||||||
*Font*) show_font_menu ;;
|
*Font*) show_font_menu ;;
|
||||||
*Background*) omarchy-theme-bg-next ;;
|
*Background*) omarchy-theme-bg-next ;;
|
||||||
|
*Hyprland*) edit_in_nvim ~/.config/hypr/looknfeel.conf ;;
|
||||||
*Screensaver*) edit_in_nvim ~/.config/omarchy/branding/screensaver.txt ;;
|
*Screensaver*) edit_in_nvim ~/.config/omarchy/branding/screensaver.txt ;;
|
||||||
*About*) edit_in_nvim ~/.config/omarchy/branding/about.txt ;;
|
*About*) edit_in_nvim ~/.config/omarchy/branding/about.txt ;;
|
||||||
*) show_main_menu ;;
|
*) show_main_menu ;;
|
||||||
|
|||||||
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