mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 15:29:07 +01:00
glance: Re-enable search auto focus
This commit is contained in:
parent
49fc984039
commit
286388294d
1 changed files with 4 additions and 4 deletions
|
|
@ -34,10 +34,10 @@ let
|
||||||
allHosts
|
allHosts
|
||||||
|> lib.attrValues
|
|> lib.attrValues
|
||||||
|> lib.concatMap (host: host.config.custom.meta.sites |> lib.attrValues)
|
|> lib.concatMap (host: host.config.custom.meta.sites |> lib.attrValues)
|
||||||
|> lib.filter (service: !lib.elem service.domain perHostDomains)
|
|> lib.filter (site: !lib.elem site.domain perHostDomains)
|
||||||
|> lib.groupBy (
|
|> lib.groupBy (
|
||||||
service:
|
site:
|
||||||
service.domain |> self.lib.isPrivateDomain |> (isPrivate: if isPrivate then "Private" else "Public")
|
site.domain |> self.lib.isPrivateDomain |> (isPrivate: if isPrivate then "Private" else "Public")
|
||||||
)
|
)
|
||||||
|> lib.mapAttrsToList (
|
|> lib.mapAttrsToList (
|
||||||
name: value: {
|
name: value: {
|
||||||
|
|
@ -134,7 +134,7 @@ in
|
||||||
{
|
{
|
||||||
type = "search";
|
type = "search";
|
||||||
search-engine = "https://search.splitleaf.de/search?q={QUERY}";
|
search-engine = "https://search.splitleaf.de/search?q={QUERY}";
|
||||||
autofocus = false;
|
autofocus = true;
|
||||||
}
|
}
|
||||||
applicationSitesWidget
|
applicationSitesWidget
|
||||||
perHostSitesWidget
|
perHostSitesWidget
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue