summaryrefslogtreecommitdiff
path: root/mut/bin
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-06-25 16:49:32 +0200
committerMike Vink <ivi@vinkies.net>2024-06-25 16:51:29 +0200
commit5f19ec51f8e0305ce08ff7a1c55c75e84979a3d2 (patch)
tree143c7696fde381a8e7522f15c47b15bc7dc2e505 /mut/bin
parentc7cb36d521a8d2b9a2f87cc02ed5f8ba9df39656 (diff)
init
Diffstat (limited to 'mut/bin')
l---------mut/bin/docker1
l---------mut/bin/docker-compose1
l---------mut/bin/docker-credential-osxkeychain1
l---------mut/bin/orb1
l---------mut/bin/orbctl1
-rwxr-xr-xmut/bin/passmenu25
-rwxr-xr-xmut/bin/pioctl8
7 files changed, 38 insertions, 0 deletions
diff --git a/mut/bin/docker b/mut/bin/docker
new file mode 120000
index 0000000..6ac42b5
--- /dev/null
+++ b/mut/bin/docker
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/xbin/docker \ No newline at end of file
diff --git a/mut/bin/docker-compose b/mut/bin/docker-compose
new file mode 120000
index 0000000..2a32a59
--- /dev/null
+++ b/mut/bin/docker-compose
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/xbin/docker-compose \ No newline at end of file
diff --git a/mut/bin/docker-credential-osxkeychain b/mut/bin/docker-credential-osxkeychain
new file mode 120000
index 0000000..c7e32a6
--- /dev/null
+++ b/mut/bin/docker-credential-osxkeychain
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/xbin/docker-credential-osxkeychain \ No newline at end of file
diff --git a/mut/bin/orb b/mut/bin/orb
new file mode 120000
index 0000000..f5fd04a
--- /dev/null
+++ b/mut/bin/orb
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/bin/orb \ No newline at end of file
diff --git a/mut/bin/orbctl b/mut/bin/orbctl
new file mode 120000
index 0000000..ab07a02
--- /dev/null
+++ b/mut/bin/orbctl
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/bin/orbctl \ No newline at end of file
diff --git a/mut/bin/passmenu b/mut/bin/passmenu
new file mode 100755
index 0000000..1af4a02
--- /dev/null
+++ b/mut/bin/passmenu
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+shopt -s nullglob globstar
+
+dmenu=dmenu
+if [ "$(uname)" = "Darwin" ]; then
+ dmenu="/opt/homebrew/bin/dmenu-mac"
+fi
+
+(
+ export PASSWORD_STORE_DIR="$HOME/sync/password-store"
+ prefix="$PASSWORD_STORE_DIR"
+ echo "prefix: $prefix"
+ password_files=( "$prefix"/**/*.gpg )
+ password_files=( "${password_files[@]#"$prefix"/}" )
+ password_files=( "${password_files[@]%.gpg}" )
+ echo "password_files: ${password_files[*]}"
+
+ password="$(printf '%s\n' "${password_files[@]}" | "$dmenu" "$@")"
+ echo "password: $password"
+
+ [[ -n $password ]] || exit
+
+ pass show -c "$password"
+) >/tmp/debug 2>&1
+
diff --git a/mut/bin/pioctl b/mut/bin/pioctl
new file mode 100755
index 0000000..8bb9798
--- /dev/null
+++ b/mut/bin/pioctl
@@ -0,0 +1,8 @@
+#!/home/ivi/Programming/Pionative/quickstart/venv/bin/python
+# -*- coding: utf-8 -*-
+import re
+import sys
+from pioctl import cli
+if __name__ == '__main__':
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
+ sys.exit(cli())