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")"

View File

@ -59,21 +59,45 @@ matches:
- trigger: ":pymain"
replace: "#\n#\n# Author: GibbyB (Gabriel Brown)\n#\n\nfrom typing import List\n\n\ndef main():\npass\n\n\nif __name__ == \"__main__\":\nmain()"
- trigger: ":block"
replace: "```\n $|$ \n```"
force_clipboard: true
- trigger: ":tsblock"
replace: "```ts\n\n```"
replace: "```ts \n $|$ \n ```"
force_clipboard: true
- trigger: ":tsxblock"
replace: "```tsx\n\n```"
replace: "```tsx \n $|$ \n ```"
force_clipboard: true
- trigger: ":nextclient"
replace: "'use client;\n\nconst Page = () => { \n$|$\n};\n\nexport { Page };"
- trigger: "nextserver"
replace: "'use server';\n\nconst Page = () => {\n\n};\n\nexport { Page };"
#- trigger: ":adm"
#replace: "cog\\administrator\tInfoTech-4193\n"
- trigger: ":adm"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "~/.config/espanso/bin/get_login be3e756a-f18d-4bff-8f87-38ced7876eee"
shell: bash
trim: true
debug: false
# Frequent Misspellings
- trigger: "yoututbe"
replace: "YouTube"
- trigger: "clera"
replace: "clear"
- trigger: "nivm"
replace: "nvim"
@ -82,7 +106,7 @@ matches:
- trigger: "lenght"
replace: "length"
- trigger: "whiel"
replace: "while"