feat(config): add Google Home scratch binding and clean up keybindings

This commit is contained in:
Prad Nukala committed 2026-10-14 11:35:18 -04:00
1 parent 0c664cd298
commit 20e5de67bb
3 files changed
+5 -15

No files matched your search

+3 -2
View File
@@ -173,12 +173,11 @@ o.bind("SUPER + SHIFT + R", "Cycle window size back", "omarchy-cycle-window-size
-- Alt+Shift+hjkl. Hyprland resizes by pixels, not by percent, so 100 px
-- replaces the niri 10%.
hl.unbind("SUPER + CTRL + H") -- was: toggle window gaps
hl.unbind("SUPER + CTRL + H") -- was: toggle window gaps (now Google Home; SUPER + comma shrinks width)
hl.unbind("SUPER + CTRL + L") -- was: toggle window gaps
hl.unbind("SUPER + CTRL + K") -- was: toggle window gaps
hl.unbind("SUPER + CTRL + J") -- was: toggle window gaps
o.bind("SUPER + CTRL + H", "Shrink window width", hl.dsp.window.resize({ x = -100, y = 0, relative = true }))
o.bind("SUPER + CTRL + L", "Grow window width", hl.dsp.window.resize({ x = 100, y = 0, relative = true }))
o.bind("SUPER + CTRL + K", "Shrink window height", hl.dsp.window.resize({ x = 0, y = -100, relative = true }))
o.bind("SUPER + CTRL + J", "Grow window height", hl.dsp.window.resize({ x = 0, y = 100, relative = true }))
@@ -245,6 +244,7 @@ o.bind("SUPER + CTRL + ALT + F", "File manager", "omarchy-launch-or-focus nautil
-- 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")
-- YouTube is a floating pinned window in the bottom-left corner (window rule
-- in hypr/hyprland.lua). The summon launches it when no window exists,
-- otherwise carries the window to the focused monitor and focuses it.
@@ -261,6 +261,7 @@ hl.unbind("SUPER + CTRL + ALT + W") -- was: toggle weather
-- gtk-launch takes the desktop-entry id: TLDraw.desktop, not tldraw_offline,
-- which does not exist (the old command could only focus, never launch).
hl.unbind("SUPER + SHIFT + M") -- was: Spotify
hl.unbind("SUPER + SHIFT + G") -- was: Signal
-- The ssh/mosh command and tmux keymaps live in ~/.config/kitty/goliath.conf
-- (kitty cannot take --config from a `launch` action, hence a separate kitty
+2 -6
View File
@@ -67,12 +67,8 @@ o.window([[^com\.anthropic\.Claude$]], { workspace = "special:claude silent" })
-- focused monitor.
o.window([[^com\.fastmail\.Fastmail$]], { workspace = "special:fastmail silent" })
o.window([[^Beeper$]], { workspace = "special:beeper silent" })
-- Ghostty opens as a group (tabbed, groupbar on top). Each Ghostty window is
-- its own tmux session (~/.local/bin/ghostty-tmux) titled with the session
-- name, so the groupbar reads as a session list; with group.auto_group, more
-- Ghostty windows opened from it join the same group.
o.window([[^com\.mitchellh\.ghostty$]], { group = "set" })
-- SUPER + CTRL + H: Google Home (Brave web app), on the focused monitor.
o.window([[^brave-home\.google\.com__.*]], { workspace = "special:home silent" })
-- SUPER + CTRL + ALT + Y / SUPER + SHIFT + Y: the YouTube web app, summoned
-- by ~/.local/bin/omarchy-summon. Not a scratch workspace: a floating,
-7
View File
@@ -27,13 +27,6 @@ hl.config({
-- ~/.local/state/omarchy/workspace-layouts/*.lua) still win for the
-- workspaces they name.
layout = "scrolling",
-- niri's layout `gaps` is unset, so its default 16 applies: 16 logical px
-- between windows and at the screen edge. Hyprland pads each side of a
-- window by gaps_in, so two neighbours sit 2 * gaps_in apart.
-- ~/.local/bin/omarchy-pip and omarchy-smart-move inset by gaps_out too.
gaps_in = 8,
gaps_out = 16,
},
decoration = {