Merge branch 'dev' into rc

This commit is contained in:
David Heinemeier Hansson
2026-05-03 11:57:19 +02:00
9 changed files with 33 additions and 31 deletions
+1
View File
@@ -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"
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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
-6
View File
@@ -24,12 +24,6 @@ if [[ -n $NVIDIA ]]; then
# Configure modprobe for early KMS
sudo tee /etc/modprobe.d/nvidia.conf <<EOF >/dev/null
options nvidia_drm modeset=1
EOF
# Ensure NVreg_UseKernelSuspendNotifiers is used for hibernation
sudo tee -a /etc/modprobe.d/nvidia.conf <<EOF >/dev/null
options nvidia NVreg_PreserveVideoMemoryAllocations=0
options nvidia NVreg_UseKernelSuspendNotifiers=1
EOF
# Configure mkinitcpio for early loading
-9
View File
@@ -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 <<EOF >/dev/null
options nvidia NVreg_PreserveVideoMemoryAllocations=0
options nvidia NVreg_UseKernelSuspendNotifiers=1
EOF
sudo limine-update
fi
+1 -1
View File
@@ -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
+6 -10
View File
@@ -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
+20
View File
@@ -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