From 082857899b154a77f7b41274c2507f2666849a1d Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Wed, 23 Nov 2022 13:42:41 -0600 Subject: [PATCH] added newtabber config --- .gitignore | 1 + buildfiles/README.md | 1 + buildfiles/newtabber/build.sh | 14 ++++++++++++++ buildfiles/newtabber/links.json | 22 ++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100755 buildfiles/newtabber/build.sh create mode 100644 buildfiles/newtabber/links.json diff --git a/.gitignore b/.gitignore index 49ba798..56c0af8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,6 @@ buildfiles/x265/x265_git buildfiles/x265/build buildfiles/x265/build-10 buildfiles/x265/build-12 +buildfiles/newtabber/newtabber termux/font.ttf btop/btop.log diff --git a/buildfiles/README.md b/buildfiles/README.md index c00e976..826d966 100644 --- a/buildfiles/README.md +++ b/buildfiles/README.md @@ -2,3 +2,4 @@ - `st` builds [st](https://st.suckless.org/) with my custom config and installs to `/usr/local` - `x265` builds a multi-bitrate [x265](https://bitbucket.org/multicoreware/x265_git) with numa support and installs to `/home/rudism/.local` +- `newtabber` is my config and publish script for [my new tab generator](https://code.sitosis.com/rudism/newtabber) diff --git a/buildfiles/newtabber/build.sh b/buildfiles/newtabber/build.sh new file mode 100755 index 0000000..7e3f4dd --- /dev/null +++ b/buildfiles/newtabber/build.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -euo pipefail + +if [ ! -d ./newtabber ]; then + git clone git@code.sitosis.com:rudism/newtabber.git +fi + +rm -f newtabber/links.json +cd newtabber +git pull +cp ../links.json . +perl generate.pl +scp newtab.html shitsandwi.ch:static/newtab.html diff --git a/buildfiles/newtabber/links.json b/buildfiles/newtabber/links.json new file mode 100644 index 0000000..d9867b1 --- /dev/null +++ b/buildfiles/newtabber/links.json @@ -0,0 +1,22 @@ +[ + { "title": "Hacker News", "url": "https://hckrnews.com/", "icon": "newspaper" }, + { "title": "Tildes", "url": "https://tildes.net/", "icon": "chat-dots" }, + { "title": "RSS", "url": "https://rss.sitosis.com/", "icon": "rss" }, + { "title": "Reddit", "url": "https://r.rdsm.ca/", "icon": "reddit" }, + { "title": "Ooh!Directory", "url": "https://ooh.directory/updated/", "icon": "bookmarks"}, + { "title": "Email", "url": "https://app.fastmail.com/", "icon": "envelope" }, + + { "title": "Notes", "url": "https://notes.sitosis.com", "icon": "journal-text" }, + { "title": "Read", "url": "https://read.sitosis.com/", "icon": "book" }, + { "title": "Bitwarden", "url": "https://pass.sitosis.com/", "icon": "fingerprint" }, + { "title": "SQLPad", "url": "https://db.sitosis.com/", "icon": "database" }, + { "title": "Router", "url": "https://router.ln0.us/", "icon": "router" }, + { "title": "Wifi", "url": "https://home.ln0.us:8443/", "icon": "wifi" }, + + { "title": "Jellyfin", "url": "https://home.ln0.us:8920/", "icon": "collection-play" }, + { "title": "Nebula", "url": "https://nebula.app/myshows", "icon": "film" }, + { "title": "Twitch", "url": "https://twitch.tv/", "icon": "twitch" }, + { "title": "YouTube", "url": "https://www.youtube.com/feed/subscriptions", "icon": "youtube" }, + { "placeholder": true }, + { "placeholder": true } +]