Update configs due to newer programs (hypr, eza@aliasrc)

Add new features to ansible-vault-manager
Add search engines to qutebrowser
Add location to waybar weather
This commit is contained in:
Tobias Reisinger 2023-12-11 00:36:03 +01:00
commit 6f6ca6f79d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 50 additions and 17 deletions

View file

@ -1,29 +0,0 @@
#!/usr/bin/env bash
project_dir="$(git rev-parse --show-toplevel)"
if [ -z "$project_dir" ]; then
exit 1
fi
url="$(git remote get-url origin)"
re="^(https|git)(:\/\/|@)([^\/:]+)[\/:]([^\/:]+)\/(.+)(.git)*$"
if [[ $url =~ $re ]]; then
#protocol=${BASH_REMATCH[1]}
#separator=${BASH_REMATCH[2]}
#hostname=${BASH_REMATCH[3]}
user=${BASH_REMATCH[4]}
repo=$(basename -s .git "${BASH_REMATCH[5]}")
fi
project="$user/$repo"
if ! pass "ansible/$project" >/dev/null 2>&1; then
echo "Error: ansible/$project not found in pass" >&2
exit 1
fi
pass "ansible/$project"