diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2024-04-21 01:22:44 +0200 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2024-04-21 01:22:44 +0200 |
commit | 989ad9c568bde02c85b61c299f539c5ea02660ee (patch) | |
tree | 46bb5ff0d89fef45a84c35575e77850e8bfded57 /.local/bin/opendoc | |
parent | d459a14dbef2c0cda076a8972eb29139f8292e3a (diff) | |
parent | 82e82c8f94ed2f61b18a19d08dad31f33a49eb44 (diff) | |
download | dotfiles-989ad9c568bde02c85b61c299f539c5ea02660ee.tar.zst |
Merge branch 'master' into notebooknotebook
Diffstat (limited to '.local/bin/opendoc')
-rwxr-xr-x | .local/bin/opendoc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.local/bin/opendoc b/.local/bin/opendoc index 5fb73e0..c0930cb 100755 --- a/.local/bin/opendoc +++ b/.local/bin/opendoc @@ -4,5 +4,13 @@ cd ~/library/ || exit 1 file=$(find -L . \( -iname '*.pdf' -or -iname '*djvu' \) -type f \ -printf '%P\n' | sort | dmenu -i -l 10) if test -f "$file"; then - zathura "$file" & + case "$file" in + *.pdf) + zathura "$file" & + #sioyek "$file" & + ;; + *.djvu) + zathura "$file" & + ;; + esac fi |