summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-04 19:48:33 +0200
committerxengineering <me@xengineering.eu>2022-08-04 19:48:33 +0200
commit25e74a8d9dd3d8241bcd4ec3b0833cef94131bb3 (patch)
treef2a7c4a27684a51b0258adfed11ac6a0e4bdcc72
parenta7ed17f7de8c37fed9b2d5ee80d5483194a79cd4 (diff)
downloadscripts-25e74a8d9dd3d8241bcd4ec3b0833cef94131bb3.tar
scripts-25e74a8d9dd3d8241bcd4ec3b0833cef94131bb3.tar.zst
scripts-25e74a8d9dd3d8241bcd4ec3b0833cef94131bb3.zip
Document how to integrate url.sh into Sway
-rwxr-xr-xurl.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/url.sh b/url.sh
index 985a2d2..a84dec2 100755
--- a/url.sh
+++ b/url.sh
@@ -1,6 +1,11 @@
#!/bin/sh
# vim: shiftwidth=4 tabstop=4 noexpandtab
+# Integrate this script to your Sway (https://swaywm.org/) config like this:
+# `bindsym $mod+u exec ~/.local/bin/url`
+# This maps modifier plus 'u' to this command if this script is installed on the
+# given path.
+
# constants
data_repo="${HOME}/.local/share/mydata"
data_rel="tables/urls.tsv"