dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

videos.sh (255B)


      1 sfeedpath=~/.cache/sfeed/videos
      2 
      3 feeds() {
      4 	. ~/.config/sfeed/feeds/videos
      5 }
      6 
      7 filter() {
      8 	# replace lbry links with odysee links
      9 	sed '/lbry:\/\//s;lbry://;https://odysee.com/;'
     10 }
     11 
     12 order() {
     13 	# only keep newest 30 entries
     14 	sort -t '	' -k1rn,1 | sed 30q
     15 }