summaryrefslogtreecommitdiff
path: root/scripts/links-launcher
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/links-launcher')
-rwxr-xr-xscripts/links-launcher10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/links-launcher b/scripts/links-launcher
new file mode 100755
index 0000000..eef2a2f
--- /dev/null
+++ b/scripts/links-launcher
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+startpage=${1:-https://search.davidovski.xyz/}
+
+bin="$(which links || which xlinks)"
+
+[ "${#DISPLAY}" = "0" ] || opts="-g -html-g-text-color 0xf58f44 -html-g-background-color 0x191919 -font /home/david/.fonts/ttf-mononoki/mononoki-Regular.ttf"
+
+$bin $opts $startpage
+