feat: add possibility to set search input placeholder

This commit is contained in:
HECHT Axel
2025-01-03 19:24:10 +01:00
parent ac7f3805d4
commit 8ad7d4be0a
3 changed files with 10 additions and 1 deletions

View File

@@ -871,6 +871,7 @@ Preview:
| search-engine | string | no | duckduckgo |
| new-tab | boolean | no | false |
| autofocus | boolean | no | false |
| placeholder | string | no | Type here to search… |
| bangs | array | no | |
##### `search-engine`
@@ -887,6 +888,9 @@ When set to `true`, swaps the shortcuts for showing results in the same or new t
##### `autofocus`
When set to `true`, automatically focuses the search input on page load.
##### `placeholder`
When set, modifies the text displayed in the input field before typing.
##### `bangs`
What now? [Bangs](https://duckduckgo.com/bangs). They're shortcuts that allow you to use the same search box for many different sites. Assuming you have it configured, if for example you start your search input with `!yt` you'd be able to perform a search on YouTube: