From f1679ba142976ca0364d99e6abeb46460335ba8c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 28 Jun 2025 11:27:33 -0700 Subject: [PATCH 01/15] Add migrations to omarchy-update and use the first one to turn on bluetooth --- bin/omarchy-update | 18 ++++++++++++++++++ migrations/1751134568.sh | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 migrations/1751134568.sh diff --git a/bin/omarchy-update b/bin/omarchy-update index 2d6f929..a5ae380 100755 --- a/bin/omarchy-update +++ b/bin/omarchy-update @@ -1,5 +1,23 @@ #!/bin/bash cd ~/.local/share/omarchy + +# Remember the version we're at before upgrading +last_updated_at=$(git log -1 --format=%cd --date=unix) + +# Get the latest git pull + +# Run any pending migrations +for file in migrations/*.sh; do + filename=$(basename "$file") + migrate_at="${filename%.sh}" + + if [ $migrate_at -gt $last_updated_at ]; then + echo "Running migration for $migrate_at" + source $file + fi +done + +# Back to where we came from cd - diff --git a/migrations/1751134568.sh b/migrations/1751134568.sh new file mode 100644 index 0000000..284ba8f --- /dev/null +++ b/migrations/1751134568.sh @@ -0,0 +1,7 @@ +# Turn on bluetooth service so blueberry works out the box +if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then + # Bluetooth is already enabled, nothing to change +else + echo "Let's turn on Bluetooth service so the controls work" + sudo systemctl enable --now bluetooth.service +fi From 682b60b0871df5f293645c945bd2ff28f17557df Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 28 Jun 2025 11:38:20 -0700 Subject: [PATCH 02/15] Ensure valid conditional syntax --- migrations/1751134568.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/1751134568.sh b/migrations/1751134568.sh index 284ba8f..f1ecd07 100644 --- a/migrations/1751134568.sh +++ b/migrations/1751134568.sh @@ -1,6 +1,7 @@ # Turn on bluetooth service so blueberry works out the box if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then # Bluetooth is already enabled, nothing to change + : else echo "Let's turn on Bluetooth service so the controls work" sudo systemctl enable --now bluetooth.service From f163297a497b2151b01432b435ac1c5870c63219 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 28 Jun 2025 11:39:45 -0700 Subject: [PATCH 03/15] Change output --- bin/omarchy-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-update b/bin/omarchy-update index a5ae380..da517c8 100755 --- a/bin/omarchy-update +++ b/bin/omarchy-update @@ -14,7 +14,7 @@ for file in migrations/*.sh; do migrate_at="${filename%.sh}" if [ $migrate_at -gt $last_updated_at ]; then - echo "Running migration for $migrate_at" + echo "Running migration ($migrate_at)" source $file fi done From cbf3717f66c8d13181f43b115ee121e5f6f3ac24 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 28 Jun 2025 11:44:28 -0700 Subject: [PATCH 04/15] Add migration for the missing bat installation --- migrations/1751135253.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/1751135253.sh diff --git a/migrations/1751135253.sh b/migrations/1751135253.sh new file mode 100644 index 0000000..b830627 --- /dev/null +++ b/migrations/1751135253.sh @@ -0,0 +1,3 @@ +# Add missing installation of bat +echo "Add missing installation of bat (used by the ff alias)" +yay -S --noconfirm --needed bat From 2c1c7550870327ba0a39ac8e20806cc1a1a62019 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 2 Jul 2025 19:27:07 -0700 Subject: [PATCH 05/15] Kill the fd alias from omakub and just install fd Closes #32 --- default/bash/aliases | 1 - install/3-terminal.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/default/bash/aliases b/default/bash/aliases index 22ee469..25e995f 100644 --- a/default/bash/aliases +++ b/default/bash/aliases @@ -4,7 +4,6 @@ alias lsa='ls -a' alias lt='eza --tree --level=2 --long --icons --git' alias lta='lt -a' alias ff="fzf --preview 'bat --style=numbers --color=always {}'" -alias fd='fdfind' alias cd="zd" zd() { if [ $# -eq 0 ]; then diff --git a/install/3-terminal.sh b/install/3-terminal.sh index 8991014..79afcda 100644 --- a/install/3-terminal.sh +++ b/install/3-terminal.sh @@ -1,6 +1,6 @@ yay -S --noconfirm --needed \ wget curl unzip inetutils \ - eza fzf ripgrep zoxide bat \ + fd eza fzf ripgrep zoxide bat \ wl-clipboard fastfetch btop \ man tldr less whois plocate \ alacritty From 04b4c3c9a5263d0a50a535d56ed9164409bff69a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 2 Jul 2025 19:53:44 -0700 Subject: [PATCH 06/15] Install missing fd --- migrations/1751510848.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 migrations/1751510848.sh diff --git a/migrations/1751510848.sh b/migrations/1751510848.sh new file mode 100644 index 0000000..4a4e93e --- /dev/null +++ b/migrations/1751510848.sh @@ -0,0 +1,2 @@ +echo "Installing missing fd terminal tool for finding files" +yay -S --noconfirm --needed fd From 8df95b6fb34e2be3b496d9bb555b9a54a1198413 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 2 Jul 2025 20:06:42 -0700 Subject: [PATCH 07/15] Explain how to get this working --- migrations/1751510848.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/1751510848.sh b/migrations/1751510848.sh index 4a4e93e..120947b 100644 --- a/migrations/1751510848.sh +++ b/migrations/1751510848.sh @@ -1,2 +1,3 @@ echo "Installing missing fd terminal tool for finding files" yay -S --noconfirm --needed fd +echo "You must start a new terminal for fd to work" From 6faa33f4225b0ced893731c904b6c8b311c2f43a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 2 Jul 2025 22:16:15 -0700 Subject: [PATCH 08/15] No transparency on image viewing --- default/hypr/windows.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf index fb43424..197ca11 100644 --- a/default/hypr/windows.conf +++ b/default/hypr/windows.conf @@ -15,7 +15,7 @@ windowrule = fullscreen, class:^(com.libretro.RetroArch)$ windowrule = opacity 0.97 0.9, class:.* windowrule = opacity 1 0.97, class:^(Chromium|chromium|google-chrome|google-chrome-unstable)$ windowrule = opacity 1 1, initialTitle:^(youtube.com_/)$ # Youtube -windowrule = opacity 1 1, class:^(zoom|vlc|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta)$ +windowrule = opacity 1 1, class:^(zoom|vlc|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta|imv)$ windowrule = opacity 1 1, class:^(com.libretro.RetroArch|steam)$ # Fix some dragging issues with XWayland From 4f0271b5880ad47ee5b02b4fa5307b7f9191c7e7 Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Thu, 3 Jul 2025 12:28:47 +0545 Subject: [PATCH 09/15] Be able to switch to current theme Additionally, check if the current theme is accessible and loadable else, fallback to a default theme as to not break the theme. Signed-off-by: Pratik Karki --- config/nvim/lua/plugins/theme.lua | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/config/nvim/lua/plugins/theme.lua b/config/nvim/lua/plugins/theme.lua index dad2d30..8464386 100644 --- a/config/nvim/lua/plugins/theme.lua +++ b/config/nvim/lua/plugins/theme.lua @@ -1,4 +1,8 @@ -return { +local uv = vim.uv +local file_path = vim.fn.expand("~/.config/omarchy/current/theme/neovim.lua") + +-- Default configuration +local default = { { "LazyVim/LazyVim", opts = { @@ -6,3 +10,13 @@ return { }, }, } + +-- Try to load custom theme, fallback to default +if uv.fs_stat(file_path) then + local success, result = pcall(dofile, file_path) + if success and type(result) == "table" then + return result + end +end + +return default From f7ec407891fa52efce91f87a7f429f15245e76d7 Mon Sep 17 00:00:00 2001 From: Osvaldo Cordova Aburto Date: Thu, 3 Jul 2025 12:57:13 -0600 Subject: [PATCH 10/15] feat: add script to show keybindings --- bin/show-keybindings | 56 ++++++++++++++++++++++++++++++++++++++ default/hypr/bindings.conf | 1 + 2 files changed, 57 insertions(+) create mode 100755 bin/show-keybindings diff --git a/bin/show-keybindings b/bin/show-keybindings new file mode 100755 index 0000000..4f9369f --- /dev/null +++ b/bin/show-keybindings @@ -0,0 +1,56 @@ +#!/bin/bash +# +# A script to display Hyprland keybindings defined in your configuration +# using wofi for an interactive search menu. +# + +# --- CONFIGURATION --- +# Set the path to your keybindings file. +# The script will check keybindings in 'hyprland.conf'. +HYPRLAND_CONF="$HOME/.config/hypr/hyprland.conf" + +# --- SCRIPT LOGIC --- + +# Determine which configuration file to use +if [ -f "$HYPRLAND_CONF" ]; then + CONFIG_FILE="$HYPRLAND_CONF" +else + # If no config file is found, show an error in wofi and exit + echo "Error: Configuration file not found." | wofi -dmenu -p "Hyprland Error" + exit 1 +fi + +# Process the configuration file to extract and format keybindings +# 1. `grep` finds all lines starting with 'bind' (allowing for leading spaces). +# 2. The first `sed` removes comments (anything after a '#'). +# 3. `awk` does the heavy lifting of formatting the output. +# - It sets the field separator to a comma ','. +# - It removes the 'bind... =' part from the beginning of the line. +# - It joins the key combination (e.g., "SUPER + Q"). +# - It joins the command that the key executes. +# - It prints everything in a nicely aligned format. +# 4. The final `sed` cleans up any leftover commas from the end of lines. +grep '^[[:space:]]*bind' "$CONFIG_FILE" | + sed 's/\#.*//' | + awk -F, '{ + # Remove the "bind... =" part and any surrounding whitespace + sub(/^[[:space:]]*bind[^=]*=[[:space:]]*/, "", $1); + + # Combine the modifier and key (first two fields) + key_combo = $1 " + " $2; + gsub(/^[ \t]+|[ \t]+$/, "", key_combo); # Trim whitespace + + # Reconstruct the command from the remaining fields + action = ""; + for (i = 3; i <= NF; i++) { + action = action $i (i < NF ? "," : ""); + } + gsub(/^[ \t]+|[ \t]+$/, "", action); # Trim whitespace + + # Print only if an action exists + if (action != "") { + printf "%-35s → %s\n", key_combo, action; + } + }' | + sed 's/,$//' | + flock --nonblock /tmp/.wofi.lock -c "wofi -dmenu -i --width 60% --height 70% -p 'Hyprland Keybindings'" diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf index 8dbd878..b0ec530 100644 --- a/default/hypr/bindings.conf +++ b/default/hypr/bindings.conf @@ -14,6 +14,7 @@ bind = SUPER, space, exec, flock --nonblock /tmp/.wofi.lock -c "wofi --show drun bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next +bind = SUPER, K, exec, ~/.local/share/omarchy/bin/show-keybindings bind = SUPER, W, killactive, From ea2053bd18de0591f22af08f0937e91113222bf8 Mon Sep 17 00:00:00 2001 From: Ihar Suvorau Date: Thu, 3 Jul 2025 01:23:41 +0300 Subject: [PATCH 11/15] Prevent wofi from stack up When hitting SUPER + space several times, a new instance of wofi is launched each time and they stack upon each other. This change uses a file lock to prevent starting several instances of wofi. Thanks to everyone from this thread https://www.reddit.com/r/archlinux/comments/m327pt/prevent_wofi_from_stacking_up/ --- default/hypr/bindings.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf index 20a974a..8dbd878 100644 --- a/default/hypr/bindings.conf +++ b/default/hypr/bindings.conf @@ -10,7 +10,7 @@ bind = SUPER, G, exec, $messenger bind = SUPER, O, exec, obsidian -disable-gpu bind = SUPER, slash, exec, $passwordManager -bind = SUPER, space, exec, wofi --show drun --sort-order=alphabetical +bind = SUPER, space, exec, flock --nonblock /tmp/.wofi.lock -c "wofi --show drun --sort-order=alphabetical" bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next From 9a99e24d6707e652be391a596a45a38cce709df8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 3 Jul 2025 13:14:42 -0700 Subject: [PATCH 12/15] Tweak keybindings and include the ones in the defaults too --- bin/omarchy-show-keybindings | 51 ++++++++++++++++++++++++++++++++ bin/show-keybindings | 56 ------------------------------------ default/hypr/bindings.conf | 3 +- 3 files changed, 53 insertions(+), 57 deletions(-) create mode 100755 bin/omarchy-show-keybindings delete mode 100755 bin/show-keybindings diff --git a/bin/omarchy-show-keybindings b/bin/omarchy-show-keybindings new file mode 100755 index 0000000..c517eaf --- /dev/null +++ b/bin/omarchy-show-keybindings @@ -0,0 +1,51 @@ +#!/bin/bash + +# A script to display Hyprland keybindings defined in your configuration +# using wofi for an interactive search menu. + +USER_HYPRLAND_CONF="$HOME/.config/hypr/hyprland.conf" +OMARCHY_BINDINGS_CONF="$HOME/.local/share/omarchy/default/hypr/bindings.conf" + +# Process the configuration file to extract and format keybindings +# 1. `grep` finds all lines starting with 'bind' (allowing for leading spaces). +# 2. The first `sed` removes comments (anything after a '#'). +# 3. `awk` does the heavy lifting of formatting the output. +# - It sets the field separator to a comma ','. +# - It removes the 'bind... =' part from the beginning of the line. +# - It joins the key combination (e.g., "SUPER + Q"). +# - It joins the command that the key executes. +# - It prints everything in a nicely aligned format. +# 4. The final `sed` cleans up any leftover commas from the end of lines. +grep -h '^[[:space:]]*bind' "$HYPRLAND_CONF" "$OMARCHY_BINDINGS_CONF" | + awk -F, ' +{ + # Strip trailing comments + sub(/#.*/, ""); + + # Remove the "bind... =" part and surrounding whitespace + sub(/^[[:space:]]*bind[^=]*=(\+[[:space:]])?(exec, )?[[:space:]]*/, "", $1); + + # Combine the modifier and key (first two fields) + key_combo = $1 " + " $2; + + # Clean up: strip leading "+" if present, trim spaces + gsub(/^[ \t]*\+?[ \t]*/, "", key_combo); + gsub(/[ \t]+$/, "", key_combo); + + # Reconstruct the command from the remaining fields + action = ""; + for (i = 3; i <= NF; i++) { + action = action $i (i < NF ? "," : ""); + } + + # Clean up trailing commas, remove leading "exec, ", and trim + sub(/,$/, "", action); + gsub(/(^|,)[[:space:]]*exec[[:space:]]*,?/, "", action); + gsub(/^[ \t]+|[ \t]+$/, "", action); + gsub(/[ \t]+/, " ", key_combo); # Collapse multiple spaces to one + + if (action != "") { + printf "%-35s → %s\n", key_combo, action; + } +}' | + flock --nonblock /tmp/.wofi.lock -c "wofi -dmenu -i --width 60% --height 70% -p 'Hyprland Keybindings' -O alphabetical" diff --git a/bin/show-keybindings b/bin/show-keybindings deleted file mode 100755 index 4f9369f..0000000 --- a/bin/show-keybindings +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -# -# A script to display Hyprland keybindings defined in your configuration -# using wofi for an interactive search menu. -# - -# --- CONFIGURATION --- -# Set the path to your keybindings file. -# The script will check keybindings in 'hyprland.conf'. -HYPRLAND_CONF="$HOME/.config/hypr/hyprland.conf" - -# --- SCRIPT LOGIC --- - -# Determine which configuration file to use -if [ -f "$HYPRLAND_CONF" ]; then - CONFIG_FILE="$HYPRLAND_CONF" -else - # If no config file is found, show an error in wofi and exit - echo "Error: Configuration file not found." | wofi -dmenu -p "Hyprland Error" - exit 1 -fi - -# Process the configuration file to extract and format keybindings -# 1. `grep` finds all lines starting with 'bind' (allowing for leading spaces). -# 2. The first `sed` removes comments (anything after a '#'). -# 3. `awk` does the heavy lifting of formatting the output. -# - It sets the field separator to a comma ','. -# - It removes the 'bind... =' part from the beginning of the line. -# - It joins the key combination (e.g., "SUPER + Q"). -# - It joins the command that the key executes. -# - It prints everything in a nicely aligned format. -# 4. The final `sed` cleans up any leftover commas from the end of lines. -grep '^[[:space:]]*bind' "$CONFIG_FILE" | - sed 's/\#.*//' | - awk -F, '{ - # Remove the "bind... =" part and any surrounding whitespace - sub(/^[[:space:]]*bind[^=]*=[[:space:]]*/, "", $1); - - # Combine the modifier and key (first two fields) - key_combo = $1 " + " $2; - gsub(/^[ \t]+|[ \t]+$/, "", key_combo); # Trim whitespace - - # Reconstruct the command from the remaining fields - action = ""; - for (i = 3; i <= NF; i++) { - action = action $i (i < NF ? "," : ""); - } - gsub(/^[ \t]+|[ \t]+$/, "", action); # Trim whitespace - - # Print only if an action exists - if (action != "") { - printf "%-35s → %s\n", key_combo, action; - } - }' | - sed 's/,$//' | - flock --nonblock /tmp/.wofi.lock -c "wofi -dmenu -i --width 60% --height 70% -p 'Hyprland Keybindings'" diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf index b0ec530..f6e321d 100644 --- a/default/hypr/bindings.conf +++ b/default/hypr/bindings.conf @@ -11,10 +11,11 @@ bind = SUPER, O, exec, obsidian -disable-gpu bind = SUPER, slash, exec, $passwordManager bind = SUPER, space, exec, flock --nonblock /tmp/.wofi.lock -c "wofi --show drun --sort-order=alphabetical" + bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next -bind = SUPER, K, exec, ~/.local/share/omarchy/bin/show-keybindings +bind = SUPER, K, exec, ~/.local/share/omarchy/bin/omarchy-show-keybindings bind = SUPER, W, killactive, From 1a061cb427af587ba5dcbe7839edcb0bda116274 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 3 Jul 2025 13:38:50 -0700 Subject: [PATCH 13/15] Add Google Messages for RCS via Android Great for SMS 2FA etc! --- config/hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 316fc80..42259de 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -35,6 +35,7 @@ bind = SUPER, C, exec, $webapp="https://app.hey.com/calendar/weeks/" bind = SUPER, E, exec, $webapp="https://app.hey.com" bind = SUPER, Y, exec, $webapp="https://youtube.com/" bind = SUPER SHIFT, G, exec, $webapp="https://web.whatsapp.com/" +bind = SUPER ALT, G, exec, $webapp="https://messages.google.com/web/conversations" bind = SUPER, X, exec, $webapp="https://x.com/" bind = SUPER SHIFT, X, exec, $webapp="https://x.com/compose/post" From d05020b7c17624cb4e2bd8debf319d8172da3bea Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 3 Jul 2025 13:59:31 -0700 Subject: [PATCH 14/15] Include Google Messages as a web app too --- install/webapps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/webapps.sh b/install/webapps.sh index a58c467..befdaec 100644 --- a/install/webapps.sh +++ b/install/webapps.sh @@ -2,6 +2,7 @@ source ~/.local/share/omarchy/default/bash/functions web2app "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png web2app "Google Photos" https://photos.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-photos.png web2app "Google Contacts" https://contacts.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-contacts.png +web2app "Google Messages" https://messages.google.com/web/conversations https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-messages.png web2app "ChatGPT" https://chatgpt.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/chatgpt.png web2app "YouTube" https://youtube.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/youtube.png web2app "GitHub" https://github.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/github-light.png From 609c8ef84e46fb0abd6eb02301c89aef26e466c6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 4 Jul 2025 11:49:09 -0700 Subject: [PATCH 15/15] Revert "Merge pull request #37 from prertik/nvim-switch-to-current-theme" This reverts commit 79a8d34cc5dedfcb9830bb4d218ee9d6486cd597, reversing changes made to d05020b7c17624cb4e2bd8debf319d8172da3bea. --- config/nvim/lua/plugins/theme.lua | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/config/nvim/lua/plugins/theme.lua b/config/nvim/lua/plugins/theme.lua index 8464386..dad2d30 100644 --- a/config/nvim/lua/plugins/theme.lua +++ b/config/nvim/lua/plugins/theme.lua @@ -1,8 +1,4 @@ -local uv = vim.uv -local file_path = vim.fn.expand("~/.config/omarchy/current/theme/neovim.lua") - --- Default configuration -local default = { +return { { "LazyVim/LazyVim", opts = { @@ -10,13 +6,3 @@ local default = { }, }, } - --- Try to load custom theme, fallback to default -if uv.fs_stat(file_path) then - local success, result = pcall(dofile, file_path) - if success and type(result) == "table" then - return result - end -end - -return default