···11-#!/bin/sh
22-#
33-# this script launches fuzzel, takes a jira
44-# ticket, and opens it
55-66-# upcase because jira wants that i guess
77-jira_id=$(printf "" | fuzzel -d | tr '[a-z]' '[A-Z]')
88-99-xdg-open "https://jira.internal.digitalocean.com/browse/$jira_id"
+15
bin/pa-bemenu
···11+#!/bin/sh
22+#
33+# prompt for a password via bemenu
44+# then type the selected password
55+#
66+# deps:
77+# - wtype
88+# - bemenu
99+# - pa
1010+1111+cd "${PA_DIR:-$HOME/.local/share/pa}"
1212+password_files="$(find * -type f | grep -v '/.git')"
1313+password=$(printf '%s\n' "$password_files" | sed 's/.age//' | bemenu -b "$@")
1414+1515+pa show "$password" | head -n 1 | tr -d '\n' | wtype -
+10
bin/zora/jira-bemenu
···11+#!/bin/sh -e
22+#
33+# this script launches fuzzel, takes a jira
44+# ticket, and opens it
55+66+# upcase because jira wants that i guess
77+jira_id=$(printf "" | bemenu -b | tr '[a-z]' '[A-Z]')
88+[ "$jira_id" = "" ] && exit 1
99+1010+xdg-open "https://jira.internal.digitalocean.com/browse/$jira_id"