From ebd571fc81199beaea38f9b2faea341594730c2e Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sat, 2 Jul 2022 10:05:41 +0200 Subject: lf: switched from stpv to ctpv --- .config/ctpv/config | 3 +++ .config/lf/lfrc | 8 ++++---- README.md | 20 -------------------- 3 files changed, 7 insertions(+), 24 deletions(-) create mode 100644 .config/ctpv/config delete mode 100644 README.md diff --git a/.config/ctpv/config b/.config/ctpv/config new file mode 100644 index 0000000..d5b1870 --- /dev/null +++ b/.config/ctpv/config @@ -0,0 +1,3 @@ +preview markdown .md {{ + glow -w $(("$w" - 2)) -s dark "$f" +}} diff --git a/.config/lf/lfrc b/.config/lf/lfrc index e7aecc6..5971a0a 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -5,10 +5,10 @@ set scrolloff 10 set hidden set icons -set previewer stpv -set cleaner stpvimgclr -&stpvimg --listen $id -cmd on-quit $stpvimg --end $id +set previewer ctpv +set cleaner ctpvclear +&ctpv -s $id +cmd on-quit $ctpv -e $id cmd open ${{ test -L $f && f=$(readlink -f $f) diff --git a/README.md b/README.md deleted file mode 100644 index 81cf830..0000000 --- a/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# dotfiles -PC and laptop configs for Arch Linux. - -Managed using the method explained [here](https://www.atlassian.com/git/tutorials/dotfiles). - -## Disclaimer - -These configs are what I have personally configured over time and as such do only what I need and nothing more. -I try to keep my configs clean and self-explanatory, which is why you won't find many comments. - -I wouldn't recommend trying to clone the entire repo as not all dependencies are included. -Instead, I'd recommend looking through the configs and yoinking whatever you find useful for your own dotfiles. - -## What's here? - -My config for i3wm, polybar, picom, and all that desktop level stuff along with the terminal applications I use. - -## Contributing - -Feel free to open issues for anything. I'm open to suggestions. -- cgit v1.2.3-70-g09d2