dotfiles

My dotfiles: zsh, lf, sxiv, i3, ranger, mpd and more
Log | Files | Refs | Submodules | README | LICENSE

podentr (238B)


      1 #!/bin/sh
      2 
      3 # entr command to run `queueandnotify` when newsboat queue is changed
      4 
      5 [ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit
      6 
      7 echo "${XDG_DATA_HOME:-$HOME/.local/share}"/newsboat/queue | entr -p queueandnotify 2>/dev/null