378 current 2025-05-03 19:07:08 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-05-03 19:07:41 -04:00
parent 8e5f77b963
commit aa642e180f
4 changed files with 51 additions and 30 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
paper_dir="/home/synchronous/Zotero/storage"
papers=$(cat "/home/synchronous/.paper-cache")
selected_file=$(echo "$papers" | rofi -dmenu -i -p "Select a paper" -theme /home/synchronous/.config/rofi/styles/prompt-papers.rasi)
if [ -n "$selected_file" ]; then
full_path=$(find $paper_dir -name "$selected_file")
echo "$full_path"
/etc/profiles/per-user/synchronous/bin/zathura --fork "$full_path"
fi