From a417515939c2b5a6e6ca1791fd8d4b99bf3590d7 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 12 Jan 2023 19:30:21 +0530 Subject: added alternatives to frequently used modal keybindings --- .config/startpage/background.jpg | Bin 522763 -> 0 bytes .config/startpage/backgroundsmall.jpg | Bin 103811 -> 0 bytes .config/startpage/index.html | 64 ---------------------------------- .config/startpage/server.go | 22 ------------ 4 files changed, 86 deletions(-) delete mode 100644 .config/startpage/background.jpg delete mode 100644 .config/startpage/backgroundsmall.jpg delete mode 100644 .config/startpage/index.html delete mode 100644 .config/startpage/server.go (limited to '.config/startpage') diff --git a/.config/startpage/background.jpg b/.config/startpage/background.jpg deleted file mode 100644 index 3e8476f..0000000 Binary files a/.config/startpage/background.jpg and /dev/null differ diff --git a/.config/startpage/backgroundsmall.jpg b/.config/startpage/backgroundsmall.jpg deleted file mode 100644 index 3b51a70..0000000 Binary files a/.config/startpage/backgroundsmall.jpg and /dev/null differ diff --git a/.config/startpage/index.html b/.config/startpage/index.html deleted file mode 100644 index f9c7650..0000000 --- a/.config/startpage/index.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Welcome, Vidhu Kant! - - - -
{{ .time }}
- - - diff --git a/.config/startpage/server.go b/.config/startpage/server.go deleted file mode 100644 index b2eef0c..0000000 --- a/.config/startpage/server.go +++ /dev/null @@ -1,22 +0,0 @@ -package main - -import ( - "github.com/gin-gonic/gin" - "net/http" - "time" -) - -func main() { - router := gin.New() - router.LoadHTMLGlob("/home/zt/.config/startpage/index.html") - router.Static("main", "/home/zt/.config/startpage/") - - router.GET("/", func (c *gin.Context) { - time := time.Now().Format("15:04 02 Jan (Monday)") - c.HTML(http.StatusOK, "index.html", gin.H{ - "time": time, - }) - }) - - router.Run(":8081") -} -- cgit v1.2.3