From 3ca4bb33f2a5d92cfb5e6ed8eb4f3c9d63a919a6 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sat, 2 May 2026 15:28:18 -0400 Subject: [PATCH 1/8] Revert #5519 for now Encountered issues during testing that prove Nvidia is still a little too shakey to take this as is. See #5554 for more details. --- install/config/hardware/nvidia.sh | 6 ------ migrations/1777018591.sh | 9 --------- 2 files changed, 15 deletions(-) delete mode 100644 migrations/1777018591.sh diff --git a/install/config/hardware/nvidia.sh b/install/config/hardware/nvidia.sh index e5605cae..5fb37232 100644 --- a/install/config/hardware/nvidia.sh +++ b/install/config/hardware/nvidia.sh @@ -24,12 +24,6 @@ if [[ -n $NVIDIA ]]; then # Configure modprobe for early KMS sudo tee /etc/modprobe.d/nvidia.conf </dev/null options nvidia_drm modeset=1 -EOF - - # Ensure NVreg_UseKernelSuspendNotifiers is used for hibernation - sudo tee -a /etc/modprobe.d/nvidia.conf </dev/null -options nvidia NVreg_PreserveVideoMemoryAllocations=0 -options nvidia NVreg_UseKernelSuspendNotifiers=1 EOF # Configure mkinitcpio for early loading diff --git a/migrations/1777018591.sh b/migrations/1777018591.sh deleted file mode 100644 index 1649b6ab..00000000 --- a/migrations/1777018591.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Ensure NVreg_UseKernelSuspendNotifiers is used for hibernation" - -if [[ -f /etc/modprobe.d/nvidia.conf ]] && ! grep -q "NVreg_PreserveVideoMemoryAllocations" /etc/modprobe.d/nvidia.conf; then - sudo tee -a /etc/modprobe.d/nvidia.conf </dev/null -options nvidia NVreg_PreserveVideoMemoryAllocations=0 -options nvidia NVreg_UseKernelSuspendNotifiers=1 -EOF - sudo limine-update -fi From e7df3d46f440261a54b871737bd4a9c26427c09d Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sat, 2 May 2026 16:22:54 -0400 Subject: [PATCH 2/8] Prevent passing package_bin_path=$1 as $@ to the actual run --- bin/omarchy-npx-install | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/omarchy-npx-install b/bin/omarchy-npx-install index 48babc41..6c0101d6 100755 --- a/bin/omarchy-npx-install +++ b/bin/omarchy-npx-install @@ -43,6 +43,7 @@ ensure_bin_runtime() { exec_package_bin() { local package_bin_path=\$1 + shift if [[ -n \$package_bin_path ]]; then ensure_bin_runtime "\$package_bin_path" From c8533301ea6f687de8712eb30661d03681e7d424 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sat, 2 May 2026 17:23:14 -0400 Subject: [PATCH 3/8] Use consistent spelling of color --- default/limine/limine.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/default/limine/limine.conf b/default/limine/limine.conf index 33eb1110..25947698 100644 --- a/default/limine/limine.conf +++ b/default/limine/limine.conf @@ -2,9 +2,9 @@ #timeout: 3 default_entry: 2 interface_branding: Omarchy Bootloader -interface_branding_colour: 9ece6a -interface_help_colour: 9ece6a -interface_help_colour_bright: 9ece6a +interface_branding_color: 9ece6a +interface_help_color: 9ece6a +interface_help_color_bright: 9ece6a hash_mismatch_panic: no term_background: 1a1b26 From 1b5a57658e3818cf7773f7228e6ef492d3d5189d Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sat, 2 May 2026 17:24:55 -0400 Subject: [PATCH 4/8] Ensure new help colors are input at the top The colors don't work when appended to the bottom of the file like they were before and instead fallback to a mismatched green --- migrations/1777570652.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/migrations/1777570652.sh b/migrations/1777570652.sh index b92db003..5511fe27 100644 --- a/migrations/1777570652.sh +++ b/migrations/1777570652.sh @@ -1,14 +1,10 @@ -echo "Update interface_ colours for limine 12 (palette index -> RRGGBB)" +echo "Update interface_ colors for limine 12 (palette index -> RRGGBB)" if [[ -f /boot/limine.conf ]]; then - sudo sed -i 's/^interface_branding_color: 2$/interface_branding_colour: 9ece6a/' /boot/limine.conf - sudo sed -i 's/^interface_branding_color: /interface_branding_colour: /' /boot/limine.conf + sudo sed -i -E 's/^interface_branding_colou?r: 2$/interface_branding_color: 9ece6a/' /boot/limine.conf + sudo sed -i 's/^interface_branding_colour: /interface_branding_color: /' /boot/limine.conf - if ! grep -q '^interface_help_colour:' /boot/limine.conf; then - echo 'interface_help_colour: 9ece6a' | sudo tee -a /boot/limine.conf >/dev/null - fi - - if ! grep -q '^interface_help_colour_bright:' /boot/limine.conf; then - echo 'interface_help_colour_bright: 9ece6a' | sudo tee -a /boot/limine.conf >/dev/null - fi + sudo sed -i -E '/^interface_help_colou?r(_bright)?:/d' /boot/limine.conf + sudo sed -i '/^interface_branding_color:/a interface_help_color_bright: 9ece6a' /boot/limine.conf + sudo sed -i '/^interface_branding_color:/a interface_help_color: 9ece6a' /boot/limine.conf fi From 7a342f9bfee6779028280906425275cfe1251f9a Mon Sep 17 00:00:00 2001 From: Tsurg Date: Sun, 3 May 2026 10:04:54 +0100 Subject: [PATCH 5/8] Fix typo in font (#5556) * Fix typo of Bitstream font * Fix typo in Bitstream font installation command --- bin/omarchy-menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 54ed2fbc..98c427ce 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -404,12 +404,12 @@ show_install_style_menu() { } show_install_font_menu() { - case $(menu "Install" " Cascadia Mono\n Meslo LG Mono\n Fira Code\n Victor Code\n Bistream Vera Mono\n Iosevka" "--width 350") in + case $(menu "Install" " Cascadia Mono\n Meslo LG Mono\n Fira Code\n Victor Code\n Bitstream Vera Mono\n Iosevka" "--width 350") in *Cascadia*) install_font "Cascadia Mono" "ttf-cascadia-mono-nerd" "CaskaydiaMono Nerd Font" ;; *Meslo*) install_font "Meslo LG Mono" "ttf-meslo-nerd" "MesloLGL Nerd Font" ;; *Fira*) install_font "Fira Code" "ttf-firacode-nerd" "FiraCode Nerd Font" ;; *Victor*) install_font "Victor Code" "ttf-victor-mono-nerd" "VictorMono Nerd Font" ;; - *Bistream*) install_font "Bistream Vera Code" "ttf-bitstream-vera-mono-nerd" "BitstromWera Nerd Font" ;; + *Bitstream*) install_font "Bitstream Vera Code" "ttf-bitstream-vera-mono-nerd" "BitstreamVera Nerd Font" ;; *Iosevka*) install_font "Iosevka" "ttf-iosevka-nerd" "Iosevka Nerd Font Mono" ;; *) show_install_menu ;; esac From efe5575e359510e52e42aa180452750a4911b098 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 3 May 2026 11:05:19 +0200 Subject: [PATCH 6/8] Revert "Fix typo in font (#5556)" (#5559) This reverts commit 7a342f9bfee6779028280906425275cfe1251f9a. --- bin/omarchy-menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 98c427ce..54ed2fbc 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -404,12 +404,12 @@ show_install_style_menu() { } show_install_font_menu() { - case $(menu "Install" " Cascadia Mono\n Meslo LG Mono\n Fira Code\n Victor Code\n Bitstream Vera Mono\n Iosevka" "--width 350") in + case $(menu "Install" " Cascadia Mono\n Meslo LG Mono\n Fira Code\n Victor Code\n Bistream Vera Mono\n Iosevka" "--width 350") in *Cascadia*) install_font "Cascadia Mono" "ttf-cascadia-mono-nerd" "CaskaydiaMono Nerd Font" ;; *Meslo*) install_font "Meslo LG Mono" "ttf-meslo-nerd" "MesloLGL Nerd Font" ;; *Fira*) install_font "Fira Code" "ttf-firacode-nerd" "FiraCode Nerd Font" ;; *Victor*) install_font "Victor Code" "ttf-victor-mono-nerd" "VictorMono Nerd Font" ;; - *Bitstream*) install_font "Bitstream Vera Code" "ttf-bitstream-vera-mono-nerd" "BitstreamVera Nerd Font" ;; + *Bistream*) install_font "Bistream Vera Code" "ttf-bitstream-vera-mono-nerd" "BitstromWera Nerd Font" ;; *Iosevka*) install_font "Iosevka" "ttf-iosevka-nerd" "Iosevka Nerd Font Mono" ;; *) show_install_menu ;; esac From 5066ae8d34da0c11332ca8925fd892dd0d3a6fb6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 3 May 2026 11:37:02 +0200 Subject: [PATCH 7/8] Add VaapiVideoDecode flags for Chromium and Brave by default Closes #1011 --- config/brave-flags.conf | 2 +- config/chromium-flags.conf | 2 +- migrations/1777800806.sh | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100755 migrations/1777800806.sh diff --git a/config/brave-flags.conf b/config/brave-flags.conf index 88c8082b..c746fab6 100644 --- a/config/brave-flags.conf +++ b/config/brave-flags.conf @@ -1,4 +1,4 @@ --ozone-platform=wayland --ozone-platform-hint=wayland ---enable-features=TouchpadOverscrollHistoryNavigation +--enable-features=TouchpadOverscrollHistoryNavigation,VaapiVideoDecodeLinuxGL,VaapiVideoEncoder --load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url diff --git a/config/chromium-flags.conf b/config/chromium-flags.conf index 88c8082b..c746fab6 100644 --- a/config/chromium-flags.conf +++ b/config/chromium-flags.conf @@ -1,4 +1,4 @@ --ozone-platform=wayland --ozone-platform-hint=wayland ---enable-features=TouchpadOverscrollHistoryNavigation +--enable-features=TouchpadOverscrollHistoryNavigation,VaapiVideoDecodeLinuxGL,VaapiVideoEncoder --load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url diff --git a/migrations/1777800806.sh b/migrations/1777800806.sh new file mode 100755 index 00000000..a57a0ae0 --- /dev/null +++ b/migrations/1777800806.sh @@ -0,0 +1,20 @@ +echo "Enable VAAPI hardware video decoding/encoding in Chromium and Brave for h265 and other codecs" + +add_flag() { + local file=$1 + local flag=$2 + + [[ -f $file ]] || return + grep -q "$flag" "$file" && return + + if grep -q "^--enable-features=" "$file"; then + sed -i "s/^--enable-features=\(.*\)$/--enable-features=\1,$flag/" "$file" + else + echo "--enable-features=$flag" >>"$file" + fi +} + +for conf in chromium-flags.conf brave-flags.conf; do + add_flag "$HOME/.config/$conf" "VaapiVideoDecodeLinuxGL" + add_flag "$HOME/.config/$conf" "VaapiVideoEncoder" +done From 791b0ce9f34c3161e6b49a4628537e519e6b8ec1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 3 May 2026 11:57:13 +0200 Subject: [PATCH 8/8] Fix not removing walker --- migrations/1777542438.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/1777542438.sh b/migrations/1777542438.sh index a834ca2c..b9df949a 100644 --- a/migrations/1777542438.sh +++ b/migrations/1777542438.sh @@ -1,6 +1,6 @@ echo "Replace coterie of individual Elephant packages with the single elephant-all package" if omarchy-pkg-present omarchy-walker; then - yes | sudo pacman -S --needed elephant-all + yes | sudo pacman -S --needed elephant-all walker sudo pacman -R --noconfirm omarchy-walker fi