summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/dmenu/unicode-select2
-rwxr-xr-x.local/bin/id-init15
2 files changed, 1 insertions, 16 deletions
diff --git a/.local/bin/dmenu/unicode-select b/.local/bin/dmenu/unicode-select
index f42cd6e..b797691 100755
--- a/.local/bin/dmenu/unicode-select
+++ b/.local/bin/dmenu/unicode-select
@@ -2,7 +2,7 @@
2# Select unicode character via dmenu and copy to clipboard 2# Select unicode character via dmenu and copy to clipboard
3 3
4line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)" 4line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)"
5grep "$line" ~/.local/src/unicode_list | tr -d [:print:] | 5grep "$line" ~/.local/share/unicode_list | tr -d [:print:] |
6 xclip -r -selection "clipboard" && 6 xclip -r -selection "clipboard" &&
7 notify-send "$(xclip -selection "clipboard" -o) copied to clipboard" 7 notify-send "$(xclip -selection "clipboard" -o) copied to clipboard"
8 8
diff --git a/.local/bin/id-init b/.local/bin/id-init
index 82d4a7b..d51660a 100755
--- a/.local/bin/id-init
+++ b/.local/bin/id-init
@@ -4,21 +4,6 @@
4# 4#
5# Must be run with bash (or probably any other shell that is not narrowly posix-compliant) 5# Must be run with bash (or probably any other shell that is not narrowly posix-compliant)
6# to use here-string redirection 6# to use here-string redirection
7#
8# This is a very short script but may require some explanation as to its purpose.
9#
10# I use both KeePassXC and pass for password management. This may seem redundant, and in some
11# aspects it probably is, but for me each program has a purpose that the other cannot fill
12# completely. Pass is great for programmatic access of passwords because of its use of
13# gpg-agent, and KeePassXC's integration with ssh-agent is very useful.
14#
15# This script first caches the passhphrase for the GPG key which allows further use of the
16# key without a prompt for a password - this of course applies to pass as well since it uses
17# the gpg key. KeePassXC is then opened, which also adds the SSH keys to the ssh-agent.
18#
19# KeePassXC, pass, gpg-agent, and ssh-agent are then all initialized and ready to be
20# used without any further user input, with just one set of credentials.
21
22 7
23# Cache passphrase for gpg key in gpg-agent which is stored in KeePassXC 8# Cache passphrase for gpg key in gpg-agent which is stored in KeePassXC
24# Caching the GPG passphrase will allow access to pass without user input 9# Caching the GPG passphrase will allow access to pass without user input