Updates to theme & stuff

This commit is contained in:
2025-07-09 13:34:24 -05:00
parent f6dfd44aa1
commit 450f33f7dc
19 changed files with 1845 additions and 483 deletions

View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
# 1) load your shell exports if not already present:
#if [[ -z "${BW_SESSION:-}" ]]; then
#[[ -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc"
#[[ -f "$HOME/.profile" ]] && source "$HOME/.profile"
#fi
source ~/.local/share/sunhat/defaults/bash/api_keys
# 2) if still empty, unlock once and export:
#if [[ -z "${BW_SESSION:-}" ]]; then
#export BW_SESSION=$(bw unlock --raw)
#fi
# 3) fetch and print user<TAB>pass<NEWLINE>
printf '%s\t%s\n' \
"$(bw --session "$BW_SESSION" get username "$1")" \
"$(bw --session "$BW_SESSION" get password "$1")"