improved books and papers scripts for GNOME
This commit is contained in:
parent
5d7e3b92b2
commit
7a6ee2ba40
2 changed files with 4 additions and 4 deletions
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
prefix=$HOME/Nextcloud/Books/
|
||||
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fuzzel -d -w 80)
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fzf)
|
||||
|
||||
test -n "$choice" && zathura $(echo $choice | sed "s/ /_/g;s|^|$prefix|")
|
||||
test -n "$choice" && evince $(echo $choice | sed "s/ /_/g;s|^|$prefix|") &
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
prefix=$HOME/Nextcloud/Papers/
|
||||
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fuzzel -d -w 80)
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fzf)
|
||||
|
||||
test -n "$choice" && zathura $(echo $choice | sed "s/ /_/g;s|^|$prefix|")
|
||||
test -n "$choice" && evince $(echo $choice | sed "s/ /_/g;s|^|$prefix|") &
|
||||
|
|
|
|||
Loading…
Reference in a new issue