add special workspace for Spotify
This commit is contained in:
1 parent
296aed566c
commit
a128ac7670
2 files changed
+7
-1
No files matched your search
@@ -141,13 +141,15 @@ o.bind("SUPER + period", "1Password Quick Access", "1password --quick-access")
|
|||||||
hl.unbind("SUPER + CTRL + period") -- defaults to "transcode"
|
hl.unbind("SUPER + CTRL + period") -- defaults to "transcode"
|
||||||
o.bind("CTRL + SUPER + period", "1Password", hl.dsp.workspace.toggle_special("1password"))
|
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 + 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,
|
-- 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 + 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 + 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 + 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 + 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
|
-- I want to be able to summon a new browser tab from wherever I am
|
||||||
o.bind("SUPER + I", "New browser tab", function()
|
o.bind("SUPER + I", "New browser tab", function()
|
||||||
|
|||||||
@@ -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
|
-- 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({ 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") })
|
||||||
|
|
||||||
Reference in new issue
Block a user