feat(monitors): main external display, Samsung ultrawide support

monitors.lua picks the main external (Studio Display, else the Samsung
S34CG50 ultrawide, matched on EDID) and reloads the config when it changes.
Workspaces 1-4, the Wacom mapping, and its active-area aspect follow it.
eDP-1 uses auto-right so it sits beside whichever external is connected.

Also unbinds SUPER+RETURN / SUPER+SHIFT+RETURN (terminal and browser live
on SUPER+CTRL+ALT+J/K) and pins the Fastmail/Beeper scratch workspaces'
comments to eDP-1.
This commit is contained in:
Prad Nukala committed 2026-10-15 14:28:18 -04:00
1 parent de202fb5f8
commit 95c8d15814
4 files changed
+85 -27

No files matched your search

+10 -8
View File
@@ -7,8 +7,9 @@
-- ─── Window management ──────────────────────────────────────────────────────
-- Spawn Terminal
-- hl.unbind("SUPER + RETURN") -- was: toggle window transparency
-- Terminal and browser live on SUPER + CTRL + ALT + J / K (Applications, below).
hl.unbind("SUPER + RETURN") -- was: launch terminal
hl.unbind("SUPER + SHIFT + RETURN") -- was: launch browser
-- Mod+Q -> close. Omarchy already binds this, so it is only made explicit.
hl.unbind("SUPER + Q")
@@ -141,7 +142,7 @@ o.bind("SUPER + A", "Toggle scratch workspace", "omarchy-toggle-scratch scratchp
o.bind("SUPER + CTRL + ALT + H", "Toggle Tern scratch workspace", "omarchy-toggle-scratch scratchpad")
o.bind("SUPER + CTRL + ALT + L", "Toggle Claude scratch workspace", "omarchy-toggle-scratch claude")
-- Workspaces 1 to 4 (Studio Display) on Q W E R and 5 to 8 (laptop panel) on
-- Workspaces 1 to 4 (main external display) on Q W E R and 5 to 8 (laptop panel) on
-- Y U I O: ALT to focus, ALT + SHIFT to send the window there. The pinning
-- lives in hypr/hyprland.lua, so focusing a workspace also moves to its
-- monitor. No Omarchy default uses ALT with a letter, so nothing is unbound.
@@ -242,9 +243,10 @@ o.bind("SUPER + CTRL + ALT + G", "Ghostty", "omarchy-cycle ghostty")
o.bind("SUPER + CTRL + ALT + O", "Obsidian", "omarchy-cycle obsidian")
o.bind("SUPER + CTRL + ALT + F", "File manager", "omarchy-launch-or-focus nautilus \"gtk-launch org.gnome.Nautilus\"")
-- Fastmail, Beeper, Google Home and LM Studio each live on their own scratch
-- workspace (window rules in hypr/hyprland.lua); the toggle reveals it on the
-- focused monitor and starts the app only when no window of it exists -- the
-- web-app launcher would otherwise open a second window every time.
-- workspace (window rules in hypr/hyprland.lua); the toggle reveals it (on
-- eDP-1 for Fastmail and Beeper, else the focused monitor) and starts the app
-- only when no window of it exists -- the web-app launcher would otherwise
-- open a second window every time.
o.bind("SUPER + CTRL + ALT + E", "Fastmail", "omarchy-toggle-scratch fastmail")
o.bind("SUPER + CTRL + ALT + M", "Beeper", "omarchy-toggle-scratch beeper")
o.bind("SUPER + CTRL + H", "Google Home", "omarchy-toggle-scratch home")
@@ -306,8 +308,8 @@ hl.unbind("SUPER + SPACE") -- was: pseudo window
-- o.bind("ALT + SPACE", "Toggle Launcher", "omarchy-menu toggle launcher")
-- Mod+Shift+Return was the vicinae window switcher. ScrollOverview on
-- ALT + TAB below takes that job, so SUPER + SHIFT + RETURN keeps its default
-- job of opening the browser.
-- ALT + TAB below takes that job; SUPER + SHIFT + RETURN is unbound
-- (Window management, above).
--
-- flea --default: begin. Written by `flea --default`; `flea --default off` removes the block whole.
hl.unbind("SUPER + SHIFT + F")