summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-28 08:07:35 -0700
committerMike Crute <mike@crute.us>2023-08-28 08:07:35 -0700
commit9f8f4b3b64a8a5217b46666b21cb74317c0d4c91 (patch)
tree8cf68bc58b131d764af41c897e6252c997b2dd36
parent6d676ce8a98cb688b282c38e97c6062da510d5ca (diff)
downloaddotfiles-9f8f4b3b64a8a5217b46666b21cb74317c0d4c91.tar.bz2
dotfiles-9f8f4b3b64a8a5217b46666b21cb74317c0d4c91.tar.xz
dotfiles-9f8f4b3b64a8a5217b46666b21cb74317c0d4c91.zip
Add some random scripts
-rwxr-xr-xbin/select-url7
-rwxr-xr-xbin/workday-gpg-agent.sh3
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/select-url b/bin/select-url
new file mode 100755
index 0000000..cd94e65
--- /dev/null
+++ b/bin/select-url
@@ -0,0 +1,7 @@
1#!/bin/sh -e
2
3grep -Eo '\bhttps?://\S+\b' |
4 uniq |
5 ifne rofi -dmenu -i -p "Open URL" -auto-select |
6 xargs xdg-open
7
diff --git a/bin/workday-gpg-agent.sh b/bin/workday-gpg-agent.sh
new file mode 100755
index 0000000..03e551c
--- /dev/null
+++ b/bin/workday-gpg-agent.sh
@@ -0,0 +1,3 @@
1#!/bin/bash
2
3gpg-agent --homedir /home/mcrute/.gnupg --daemon --default-cache-ttl 43200 --max-cache-ttl 43200