updated books and papers scripts
This commit is contained in:
parent
083fbc1b4b
commit
055afa27a0
3 changed files with 5 additions and 5 deletions
|
|
@ -12,7 +12,6 @@ mod=Super
|
|||
wobsock=$XDG_RUNTIME_DIR/wob.sock
|
||||
rm -f $wobsock && mkfifo $wobsock && tail -f $wobsock | wob &
|
||||
|
||||
|
||||
# Launch things
|
||||
riverctl map normal $mod Return spawn footclient
|
||||
riverctl map normal $mod+Shift Return spawn foot
|
||||
|
|
@ -20,6 +19,7 @@ riverctl map normal $mod Semicolon spawn fuzzel
|
|||
riverctl map normal $mod BracketRight spawn "$browser"
|
||||
riverctl map normal $mod T spawn "$email"
|
||||
riverctl map normal $mod Z spawn "books.sh"
|
||||
riverctl map normal $mod Y spawn "papers.sh"
|
||||
riverctl map normal $mod E spawn "$emacs"
|
||||
riverctl map normal $mod+Control O spawn "swaylock"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
prefix=$HOME/Nextcloud/Books/
|
||||
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fzf)
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fuzzel -d -w 60)
|
||||
|
||||
test -n "$choice" && evince $(echo $choice | sed "s/ /_/g;s|^|$prefix|") &
|
||||
test -n "$choice" && zathura $(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" | fzf)
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | fuzzel -d -w 60)
|
||||
|
||||
test -n "$choice" && evince $(echo $choice | sed "s/ /_/g;s|^|$prefix|") &
|
||||
test -n "$choice" && zathura $(echo $choice | sed "s/ /_/g;s|^|$prefix|") &
|
||||
|
|
|
|||
Loading…
Reference in a new issue