This commit is contained in:
2025-12-29 22:54:17 -08:00
parent b435e0d92c
commit 63e6fad216
4 changed files with 6 additions and 5 deletions

View File

@@ -151,4 +151,5 @@ application/xml=zen.desktop
application/pdf=zen.desktop application/pdf=zen.desktop
text/html=zen.desktop text/html=zen.desktop
text/vnd.trolltech.linguist=zen.desktop text/vnd.trolltech.linguist=zen.desktop
x-scheme-handler/nxm=com.nexusmods.app.desktop x-scheme-handler/nxm=modorganizer2-nxm-handler.desktop
x-scheme-handler/discord-1361252452329848892=discord-1361252452329848892.desktop

View File

@@ -1,14 +1,14 @@
#!/usr/bin/env bash #!/usr/bin/env bash
CHOICES=( CHOICES=(
"1. Screenshot (Lapis)" "1. Screenshot (Kiku)"
"2. Screenshot (Luna)" "2. Screenshot (Luna)"
"3. Record Audio" "3. Record Audio"
) )
CHOICE=$(printf "%s\n" "${CHOICES[@]}" | rofi -dmenu -i -theme "$HOME/.config/rofi/launchers/type-2/style-2.rasi" -theme-str 'window {width: 25%;} listview {columns: 1; lines: 5;}' -p "Select an option") CHOICE=$(printf "%s\n" "${CHOICES[@]}" | rofi -dmenu -i -theme "$HOME/.config/rofi/launchers/type-2/style-2.rasi" -theme-str 'window {width: 25%;} listview {columns: 1; lines: 5;}' -p "Select an option")
case "$CHOICE" in case "$CHOICE" in
"1. Screenshot (Lapis)") "1. Screenshot (Kiku)")
PICTURE_FIELD=Picture "$HOME/projects/scripts/screenshot-anki.sh" PICTURE_FIELD=Picture "$HOME/projects/scripts/screenshot-anki.sh"
;; ;;
"2. Screenshot (Luna)") "2. Screenshot (Luna)")
@@ -21,4 +21,3 @@ case "$CHOICE" in
exit 1 exit 1
;; ;;
esac esac

View File

@@ -28,6 +28,7 @@ setopt HIST_IGNORE_SPACE # dont record commands that start with a space
FPATH="$HOME/.docker/completions:$FPATH" FPATH="$HOME/.docker/completions:$FPATH"
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)" [[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
eval "$(fnm env --use-on-cd --shell zsh)"
bindkey -v bindkey -v
# zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'

View File

@@ -31,7 +31,7 @@ parse_opts() {
*) *)
echo "Usage: $0 [-c] [-n DECK_NAME]" >&2 echo "Usage: $0 [-c] [-n DECK_NAME]" >&2
echo " -c: Capture current window" >&2 echo " -c: Capture current window" >&2
echo " -n: Specify note name (e.g., Lapis)" >&2 echo " -n: Specify note name (e.g., Kiku)" >&2
exit 1 exit 1
;; ;;
esac esac