summaryrefslogtreecommitdiff
path: root/scripts/links-launcher
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-16 00:48:34 +0100
committerdavidovski <david@davidovski.xyz>2022-05-16 00:48:34 +0100
commit381aaffe4ed3caa0f1356b720f6d4fc0de5b1f8f (patch)
treedc8a619c66a8e538f94ac2701b6e42750d0d9406 /scripts/links-launcher
parent1406e81f40a5e0ef4632e7c518b0629514a79de3 (diff)
removed bash and added mkshrc
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
+