commit a75804c4165749928eb7dc6301b7293017bf300b
parent 9a7baa040211330f59b9f395743017afb6d6c4ca
Author: Matsuda Kenji <contact2655@matsudakenji.xyz>
Date: Fri, 29 Jul 2022 13:41:04 +0900
add search bar
Diffstat:
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/.config/w3m/bookmark.html b/.config/w3m/bookmark.html
@@ -1,7 +1,31 @@
-<html><head><title>Bookmarks</title></head>
+<!DOCTYPE html>
+<head>
+<meta charset="utf-8">
+<title>surf home</title>
+<style>
+ html {
+ background-color: #1b1b1b;
+ color: #e0e0e0;
+ }
+ a {
+ color: #99ff99;
+ }
+ body {
+ }
+</style>
+</head>
<body>
-<h1>Bookmarks</h1>
-<h2>Miscellaneous</h2>
+<h1><a href="https://surf.suckless.org">
+<svg xmlns="http://www.w3.org/2000/svg" width="88" height="40">
+<path d="m 0,32 8,0 0,-16 24,0 0,16 8,0 0,-16 32,0 0,-16 16,0 0,8 -8,0 0,8 8,0 0,8 -8,0 0,16 -8,0 0,-16 -8,0 0,16 -8,0 0,-16 -8,0 0,16 -24,0 0,-16 -8,0 0,16 -16,0 z" fill="#17a"/>
+</svg>
+</a></h1>
+<form method="get" action="https://lite.duckduckgo.com/lite">
+<input type="text" name="q" placeholder="duckduckgo">
+<input type="submit" value="search">
+</form>
+
+<h2>Bookmarks</h2>
<ul>
<li><a href "https://html.spec.whatwg.org/multipage">HTML Living Standard</a></li>
<li><a href="https://lite.duckduckgo.com/lite/">DuckDuckGo</a></li>