From 8d107ed04ca0861a167ade9a52aabfe0ca9d1de2 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 15 May 2026 13:56:15 +0200 Subject: [PATCH] Drop outdated migrations --- migrations/1755340533.sh | 5 ----- migrations/1756153445.sh | 10 ---------- migrations/1756371020.sh | 3 --- migrations/1757515650.sh | 2 -- migrations/1757861484.sh | 3 --- migrations/1758564460.sh | 2 -- migrations/1760462260.sh | 26 -------------------------- migrations/1761569743.sh | 9 --------- migrations/1762352101.sh | 5 ----- migrations/1762802472.sh | 4 ---- migrations/1763393133.sh | 6 ------ migrations/1763743755.sh | 3 --- migrations/1765739892.sh | 7 ------- migrations/1767138576.sh | 10 ---------- migrations/1767414310.sh | 3 --- migrations/1767478141.sh | 3 --- migrations/1769566732.sh | 3 --- migrations/1770811646.sh | 3 --- migrations/1771606249.sh | 9 --------- migrations/1771618300.sh | 2 -- migrations/1773017819.sh | 3 --- migrations/1773506226.sh | 16 ---------------- migrations/1775946416.sh | 9 --------- migrations/1777467659.sh | 6 ------ 24 files changed, 152 deletions(-) delete mode 100644 migrations/1755340533.sh delete mode 100644 migrations/1756153445.sh delete mode 100644 migrations/1756371020.sh delete mode 100644 migrations/1757515650.sh delete mode 100644 migrations/1757861484.sh delete mode 100644 migrations/1758564460.sh delete mode 100644 migrations/1760462260.sh delete mode 100644 migrations/1761569743.sh delete mode 100644 migrations/1762352101.sh delete mode 100644 migrations/1762802472.sh delete mode 100644 migrations/1763393133.sh delete mode 100644 migrations/1763743755.sh delete mode 100644 migrations/1765739892.sh delete mode 100644 migrations/1767138576.sh delete mode 100644 migrations/1767414310.sh delete mode 100644 migrations/1767478141.sh delete mode 100644 migrations/1769566732.sh delete mode 100644 migrations/1770811646.sh delete mode 100644 migrations/1771606249.sh delete mode 100644 migrations/1771618300.sh delete mode 100644 migrations/1773017819.sh delete mode 100644 migrations/1773506226.sh delete mode 100644 migrations/1775946416.sh delete mode 100644 migrations/1777467659.sh diff --git a/migrations/1755340533.sh b/migrations/1755340533.sh deleted file mode 100644 index b94ec59c..00000000 --- a/migrations/1755340533.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Add .config/brave-flags.conf by default to ensure Brave runs under Wayland" - -if [[ ! -f ~/.config/brave-flags.conf ]]; then - cp $OMARCHY_PATH/config/brave-flags.conf ~/.config/ -fi diff --git a/migrations/1756153445.sh b/migrations/1756153445.sh deleted file mode 100644 index 63441e2f..00000000 --- a/migrations/1756153445.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Checking and correcting Snapper configs if needed" -if command -v snapper &>/dev/null; then - if ! sudo snapper list-configs 2>/dev/null | grep -q "root"; then - sudo snapper -c root create-config / - fi - - if ! sudo snapper list-configs 2>/dev/null | grep -q "home"; then - sudo snapper -c home create-config /home - fi -fi diff --git a/migrations/1756371020.sh b/migrations/1756371020.sh deleted file mode 100644 index f629b598..00000000 --- a/migrations/1756371020.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Stop restarting waybar on unlock to see if we have solved the stacking problem for good" - -omarchy-refresh-hypridle diff --git a/migrations/1757515650.sh b/migrations/1757515650.sh deleted file mode 100644 index 0087257a..00000000 --- a/migrations/1757515650.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "Update plymouth theme to avoid freetype2 issue that broke the styled login screen" -omarchy-refresh-plymouth diff --git a/migrations/1757861484.sh b/migrations/1757861484.sh deleted file mode 100644 index fa4cec99..00000000 --- a/migrations/1757861484.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add a blurred background to the lock screen" - -omarchy-refresh-hyprlock diff --git a/migrations/1758564460.sh b/migrations/1758564460.sh deleted file mode 100644 index f0b10693..00000000 --- a/migrations/1758564460.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "Enable fast shutdown" -source $OMARCHY_PATH/install/config/fast-shutdown.sh diff --git a/migrations/1760462260.sh b/migrations/1760462260.sh deleted file mode 100644 index fec87d8c..00000000 --- a/migrations/1760462260.sh +++ /dev/null @@ -1,26 +0,0 @@ -echo -e "Offer new Omarchy hotkeys\n" - -cat </dev/null - sudo sed -i 's/^FREE_LIMIT="0.2"/FREE_LIMIT="0.3"/' /etc/snapper/configs/{root,home} 2>/dev/null - sudo btrfs quota enable / -fi diff --git a/migrations/1767138576.sh b/migrations/1767138576.sh deleted file mode 100644 index 9771e316..00000000 --- a/migrations/1767138576.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Update terminal scrolltouchpad setting to Hyprland 0.53 style" - -if grep -q "scrolltouchpad" ~/.config/hypr/input.conf; then - sed -Ei 's/^windowrule = scrolltouchpad ([^,]+), class:\(([^)]+)\)\s*$/windowrule = match:class (\2), scroll_touchpad \1/' ~/.config/hypr/input.conf - sed -Ei 's/^windowrule = scrolltouchpad ([^,]+), class:([^ ]+)\s*$/windowrule = match:class \2, scroll_touchpad \1/' ~/.config/hypr/input.conf - sed -Ei 's/^windowrule = scrolltouchpad ([^,]+), tag:terminal\s*$/windowrule = match:class (Alacritty|kitty), scroll_touchpad 1.5\nwindowrule = match:class com.mitchellh.ghostty, scroll_touchpad 0.2/' ~/.config/hypr/input.conf -fi - -# Ensure we restart to pair new Hyprland settings with new version -omarchy-state set reboot-required diff --git a/migrations/1767414310.sh b/migrations/1767414310.sh deleted file mode 100644 index a0f3fbe2..00000000 --- a/migrations/1767414310.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Use correct idle-timer sensitive timeouts for lock screen" - -sed -i 's/timeout = 300/timeout = 151/' ~/.config/hypr/hypridle.conf diff --git a/migrations/1767478141.sh b/migrations/1767478141.sh deleted file mode 100644 index 96d25cf8..00000000 --- a/migrations/1767478141.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add Omarchy AI skill for assistance tailoring the system" - -source $OMARCHY_PATH/install/config/omarchy-ai-skill.sh diff --git a/migrations/1769566732.sh b/migrations/1769566732.sh deleted file mode 100644 index f2df93c0..00000000 --- a/migrations/1769566732.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Set power profile based on source switching (AC or Battery)" - -source $OMARCHY_PATH/install/config/powerprofilesctl-rules.sh diff --git a/migrations/1770811646.sh b/migrations/1770811646.sh deleted file mode 100644 index efb50931..00000000 --- a/migrations/1770811646.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Disable WiFi power save on AC power" - -source $OMARCHY_PATH/install/config/wifi-powersave-rules.sh diff --git a/migrations/1771606249.sh b/migrations/1771606249.sh deleted file mode 100644 index af341555..00000000 --- a/migrations/1771606249.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Re-run scrolltouchpad migration for configs with trailing whitespace" - -if grep -q "scrolltouchpad" ~/.config/hypr/input.conf; then - sed -Ei 's/^windowrule = scrolltouchpad ([^,]+), class:\(([^)]+)\)\s*$/windowrule = match:class (\2), scroll_touchpad \1/' ~/.config/hypr/input.conf - sed -Ei 's/^windowrule = scrolltouchpad ([^,]+), class:([^ ]+)\s*$/windowrule = match:class \2, scroll_touchpad \1/' ~/.config/hypr/input.conf - sed -Ei 's/^windowrule = scrolltouchpad ([^,]+), tag:terminal\s*$/windowrule = match:class (Alacritty|kitty), scroll_touchpad 1.5\nwindowrule = match:class com.mitchellh.ghostty, scroll_touchpad 0.2/' ~/.config/hypr/input.conf - - omarchy-state set reboot-required -fi diff --git a/migrations/1771618300.sh b/migrations/1771618300.sh deleted file mode 100644 index 28794966..00000000 --- a/migrations/1771618300.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "Turn off keyboard backlight when idle" -cp $OMARCHY_PATH/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf diff --git a/migrations/1773017819.sh b/migrations/1773017819.sh deleted file mode 100644 index b4a1d36e..00000000 --- a/migrations/1773017819.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add LocalSend entry to Nautilus context menu" - -source $OMARCHY_PATH/install/config/nautilus-python.sh diff --git a/migrations/1773506226.sh b/migrations/1773506226.sh deleted file mode 100644 index 88c84a9f..00000000 --- a/migrations/1773506226.sh +++ /dev/null @@ -1,16 +0,0 @@ -echo "Enable GPU in voxtype if Vulkan is available" - -if omarchy-cmd-present voxtype; then - if omarchy-hw-vulkan; then - echo "Vulkan is available, enabling GPU in voxtype" - voxtype setup gpu --enable || true - fi - - # see https://github.com/peteonrails/voxtype/commit/ce6e9919cbe54cb8808dcb3cdd3bcb3260d7b900 - # earlier versions of voxtype hard-coded the non-GPU backend in the systemd service file, - # so we need to re-run setup to update it to use /usr/bin/voxtype (the symlink) - voxtype setup systemd - - systemctl --user restart voxtype - omarchy-restart-waybar -fi diff --git a/migrations/1775946416.sh b/migrations/1775946416.sh deleted file mode 100644 index 8e537976..00000000 --- a/migrations/1775946416.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Set Chromium appearance mode to device (follow system) by default" - -echo '{"browser":{"theme":{"color_scheme":0}}}' | sudo tee /usr/lib/chromium/initial_preferences >/dev/null - -# Update existing Chromium profiles to use "device" instead of "dark" -PREFS="$HOME/.config/chromium/Default/Preferences" -if [[ -f "$PREFS" ]] && command -v jq &>/dev/null; then - jq '.browser.theme.color_scheme = 0' "$PREFS" > "$PREFS.tmp" && mv "$PREFS.tmp" "$PREFS" -fi diff --git a/migrations/1777467659.sh b/migrations/1777467659.sh deleted file mode 100644 index 994c30bf..00000000 --- a/migrations/1777467659.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Rename lock screen command in Hypridle config" - -if grep -q 'omarchy-lock-screen' ~/.config/hypr/hypridle.conf; then - sed -i 's/omarchy-lock-screen/omarchy-system-lock/g' ~/.config/hypr/hypridle.conf - omarchy-restart-hypridle -fi