From 35650a633d7930c2821a49e957e1172c9c7aab4f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 22 Apr 2026 17:15:32 +0200 Subject: [PATCH 1/5] Fix broken hide button on screensharing overlay --- default/hypr/apps/browser.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default/hypr/apps/browser.conf b/default/hypr/apps/browser.conf index 7f30ba38..53acc6df 100644 --- a/default/hypr/apps/browser.conf +++ b/default/hypr/apps/browser.conf @@ -14,3 +14,6 @@ windowrule = tile on, match:tag chromium-based-browser # Only a subtle opacity change, but not for video sites windowrule = opacity 1.0 0.97, match:tag chromium-based-browser windowrule = opacity 1.0 0.97, match:tag firefox-based-browser + +# Hide the screen-sharing notification bar (the "Hide" button on it is broken on Wayland) +windowrule = workspace special silent, match:title .*is sharing.* From a1d5e0c40cb52ce98b70204ae8d77e38282de8f6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 22 Apr 2026 17:16:00 +0200 Subject: [PATCH 2/5] Use new correct catppuccin-nvim colorscheme --- themes/catppuccin/neovim.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/themes/catppuccin/neovim.lua b/themes/catppuccin/neovim.lua index a8683876..f0d503f9 100644 --- a/themes/catppuccin/neovim.lua +++ b/themes/catppuccin/neovim.lua @@ -1,13 +1,13 @@ return { - { - "catppuccin/nvim", - name = "catppuccin", - priority = 1000, - }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "catppuccin", - }, - }, + { + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, + }, + { + "LazyVim/LazyVim", + opts = { + colorscheme = "catppuccin-nvim", + }, + }, } From 01d19840935391cc1a014e92dad229eb65e17120 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 22 Apr 2026 19:44:54 +0200 Subject: [PATCH 3/5] Fix perms --- migrations/1776617403.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 migrations/1776617403.sh diff --git a/migrations/1776617403.sh b/migrations/1776617403.sh old mode 100755 new mode 100644 From 590f2e25e6a0d6671a417d2d42d670367f3eca97 Mon Sep 17 00:00:00 2001 From: Marco <77896841+annoyedmilk@users.noreply.github.com> Date: Wed, 22 Apr 2026 19:49:15 +0200 Subject: [PATCH 4/5] Add ThinkPad mic mute LED sync following XPS hardware handler pattern (#4938) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Omarchy 3.5.1 shipped hardware-specific mic mute handling for Dell XPS (bin/omarchy-cmd-mic-mute-xps) which made the original PR #4938 approach obsolete — that PR added a global omarchy-cmd-mic-mute that handled the toggle inline, but upstream now owns that dispatcher. This follows the same pattern to add ThinkPad support by extending omarchy-hw-match to also check product_family (ThinkPad systems report "ThinkPad T14s Gen 2a" there, not in product_name) and adding omarchy-cmd-mic-mute-thinkpad which uses brightnessctl to sync the platform::micmute LED, simpler than the ALSA approach needed for XPS. Note: as more vendors are added this per-vendor dispatcher will get unwieldy. A future refactor could move hardware LED sync into install/config/hardware/ scripts that drop a hook or config file, keeping omarchy-cmd-mic-mute thin and vendor-agnostic. --- bin/omarchy-cmd-mic-mute | 4 +++- bin/omarchy-cmd-mic-mute-thinkpad | 23 +++++++++++++++++++++++ bin/omarchy-hw-match | 7 ++++--- 3 files changed, 30 insertions(+), 4 deletions(-) create mode 100755 bin/omarchy-cmd-mic-mute-thinkpad diff --git a/bin/omarchy-cmd-mic-mute b/bin/omarchy-cmd-mic-mute index a1a76cec..3931d0b8 100755 --- a/bin/omarchy-cmd-mic-mute +++ b/bin/omarchy-cmd-mic-mute @@ -1,9 +1,11 @@ #!/bin/bash -# Toggle microphone mute. Dell XPS systems get special handling for the hardware LED. +# Toggle microphone mute. Dell XPS and ThinkPad systems get special handling for the hardware LED. if omarchy-hw-match "XPS"; then omarchy-cmd-mic-mute-xps +elif omarchy-hw-match "ThinkPad"; then + omarchy-cmd-mic-mute-thinkpad else omarchy-swayosd-client --input-volume mute-toggle fi diff --git a/bin/omarchy-cmd-mic-mute-thinkpad b/bin/omarchy-cmd-mic-mute-thinkpad new file mode 100755 index 00000000..a6e551a7 --- /dev/null +++ b/bin/omarchy-cmd-mic-mute-thinkpad @@ -0,0 +1,23 @@ +#!/bin/bash + +# Toggle microphone mute on ThinkPad systems. Uses wpctl for reliable toggling +# and syncs the platform::micmute LED via brightnessctl. + +wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle >/dev/null + +if pactl get-source-mute @DEFAULT_SOURCE@ | grep -q 'yes'; then + osd_message='Microphone muted' + osd_icon='microphone-sensitivity-muted-symbolic' + led_value=1 +else + osd_message='Microphone on' + osd_icon='audio-input-microphone-symbolic' + led_value=0 +fi + +brightnessctl --device="platform::micmute" set "$led_value" >/dev/null 2>&1 || true + +swayosd-client \ + --monitor "$(omarchy-hyprland-monitor-focused)" \ + --custom-message "$osd_message" \ + --custom-icon "$osd_icon" diff --git a/bin/omarchy-hw-match b/bin/omarchy-hw-match index ae3eb44d..c27875fa 100755 --- a/bin/omarchy-hw-match +++ b/bin/omarchy-hw-match @@ -1,6 +1,7 @@ #!/bin/bash -# Match against the computer's DMI product name (case-insensitive). -# Usage: omarchy-hw-match "XPS" +# Match against the computer's DMI product name or product family (case-insensitive). +# Usage: omarchy-hw-match "XPS" or omarchy-hw-match "ThinkPad" -grep -qi "$1" /sys/class/dmi/id/product_name 2>/dev/null +grep -qi "$1" /sys/class/dmi/id/product_name 2>/dev/null || +grep -qi "$1" /sys/class/dmi/id/product_family 2>/dev/null From ced028f87aaf032b154f731aec49cc4eeae37ee9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 22 Apr 2026 19:51:16 +0200 Subject: [PATCH 5/5] Don't fail if headers haven't been installed --- install/config/hardware/intel/ptl-kernel.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/config/hardware/intel/ptl-kernel.sh b/install/config/hardware/intel/ptl-kernel.sh index cfc95e36..0e34def4 100644 --- a/install/config/hardware/intel/ptl-kernel.sh +++ b/install/config/hardware/intel/ptl-kernel.sh @@ -5,7 +5,9 @@ if omarchy-hw-intel-ptl; then echo "Detected Intel Panther Lake, installing PTL kernel..." omarchy-pkg-add linux-ptl linux-ptl-headers - sudo pacman -Rdd --noconfirm linux linux-headers 2>/dev/null || true + for pkg in linux linux-headers; do + sudo pacman -Rdd --noconfirm "$pkg" 2>/dev/null || true + done sudo mkdir -p /etc/limine-entry-tool.d cat </dev/null