diff --git a/apps/gui/sherlock.nix b/apps/gui/sherlock.nix index d7a010018bb37288c8b075f6965bc5b9260b7be4..58c9099b54278dbc60a9adf3c83f6ab2cfb53cbd 100644 --- a/apps/gui/sherlock.nix +++ b/apps/gui/sherlock.nix @@ -3,10 +3,51 @@ programs.sherlock = { enable = true; settings = { status_bar.enable = false; - default_apps.browser = "firefox --new-tab %u"; }; launchers = [ { + actions = [ + { + exit = false; + icon = "media-seek-forward"; + method = "inner.next"; + name = "Skip"; + } + { + exit = false; + icon = "media-seek-backward"; + method = "inner.previous"; + name = "Previous"; + } + ]; + args = { }; + async = true; + binds = [ + { + bind = "Return"; + callback = "playpause"; + exit = false; + } + { + bind = "l"; + callback = "next"; + exit = false; + } + { + bind = "h"; + callback = "previous"; + exit = false; + } + ]; + exit = true; + home = "OnlyHome"; + name = "Spotify"; + priority = 1; + shortcut = true; + spawn_focus = false; + type = "audio_sink"; + } + { args = { capabilities = [ "calc.math" @@ -34,6 +75,17 @@ priority = 3; shortcut = true; spawn_focus = true; type = "app_launcher"; + } + { + alias = "kill"; + async = false; + exit = true; + home = "Search"; + name = "Kill Process"; + priority = 0; + shortcut = true; + spawn_focus = true; + type = "process"; } { alias = "kagi";