diff --git a/dot_config/hypr/bindings.lua b/dot_config/hypr/bindings.lua index ed9e0a8..434cd74 100644 --- a/dot_config/hypr/bindings.lua +++ b/dot_config/hypr/bindings.lua @@ -141,13 +141,15 @@ o.bind("SUPER + period", "1Password Quick Access", "1password --quick-access") hl.unbind("SUPER + CTRL + period") -- defaults to "transcode" o.bind("CTRL + SUPER + period", "1Password", hl.dsp.workspace.toggle_special("1password")) o.bind("SUPER + Z", "Show Creddy", "creddy shortcut show-window") +o.bind("SUPER + M", "Spotify", hl.dsp.workspace.toggle_special("spotify")) -- I don't want to run most webapps as completely standalone windows, --- but it is convenient to have hotkeys for some of them +-- but it is convenient to have hotkeys for some of them anyway o.bind("SUPER + A", "Claude", "omarchy-launch-browser https://claude.ai/new") o.bind("SUPER + E", "Email", "omarchy-launch-browser https://mail.google.com/mail/u/0") o.bind("SUPER + ALT + E", "Email (personal)", "omarchy-launch-browser https://mail.google.com/mail/u/1") o.bind("SUPER + G", "GitLab", "omarchy-launch-browser https://gitlab.modg.net") +o.bind("SUPER + H", "Fizzy", "omarchy-launch-browser https://app.fizzy.do") -- I want to be able to summon a new browser tab from wherever I am o.bind("SUPER + I", "New browser tab", function() diff --git a/dot_config/hypr/windows.lua b/dot_config/hypr/windows.lua index 0d6174f..65781ab 100644 --- a/dot_config/hypr/windows.lua +++ b/dot_config/hypr/windows.lua @@ -17,3 +17,7 @@ hl.workspace_rule({ workspace = "special:slack", on_created_empty = o.launch_web -- excluding floating windows allows the unlock and quick-access popups to show in any workspace o.window({ class = "com.onepassword.OnePassword", float = false }, { workspace = "special:1password" }) +o.window("chrome-play.spotify.com__-Default", { workspace = "special:spotify" }) +-- spotify does not autostart, so it won't start unless I intentionally summon the workspace +hl.workspace_rule({ workspace = "special:spotify", on_created_empty = o.launch_webapp("https://play.spotify.com") }) +