From 3c3836d0c61827d2f4d1093e01adfa2e9bda68a2 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Tue, 13 Jun 2023 23:33:15 +0200 Subject: [PATCH] small updates --- .config/lf/lfrc | 6 +++--- .gitmodules | 3 +++ .local/src/st | 1 + TODO.md | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 160000 .local/src/st diff --git a/.config/lf/lfrc b/.config/lf/lfrc index d5ac7d124..925d7c71c 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -173,11 +173,11 @@ cmd dupe %{{ done }} -cmd edit !{{ +cmd edit ${{ clear - if [ -w $f ]; then + if [ -f $f ] && [ -w $f ]; then $EDITOR $f - else + elif [ -f $f ]; then sudo -e $f fi clear diff --git a/.gitmodules b/.gitmodules index a6de08b70..a04a699da 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,6 @@ [submodule ".local/src/pinentry-dmenu"] path = .local/src/pinentry-dmenu url = https://git.snaile.de/luca/pinentry-dmenu +[submodule ".local/src/st"] + path = .local/src/st + url = https://git.snaile.de/luca/st diff --git a/.local/src/st b/.local/src/st new file mode 160000 index 000000000..7c84da62e --- /dev/null +++ b/.local/src/st @@ -0,0 +1 @@ +Subproject commit 7c84da62e7f7729cf1e84694008137e8e7e3480c diff --git a/TODO.md b/TODO.md index db3e7d1ef..96c2884d6 100644 --- a/TODO.md +++ b/TODO.md @@ -2,8 +2,8 @@ - [ ] Create a better bitwarden integration - [ ] Remove username from ssh completion - [ ] add a messaging function to dotsync to warn for breaking changes -- [ ] check font names for void, adjust fontconfig -- [ ] async ueberzugpp startup +- [ ] create tmux config +- [ ] autostart tmux for scrollback buffer in st # FIX - [ ] sb-playerctl trailing dash when no artist