diff --git a/config/.bashrc b/config/.bashrc index 8a3a21e..7a619ae 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -171,13 +171,17 @@ tinty_source_shell_theme() { # alias theme='tinty_source_shell_theme apply "$(tinty list | fzf --cycle)" && xrdb ~/.Xresources' # fi +run_kak() { + kak -c $SESH 2>/dev/null "$@" || kak -s $SESH "$@" +} if [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ] && [ -z "$TMUX" ]; then SESH="$((tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)" alias kak='tmux new-session -e "EDITOR=\"kak -c $SESH\"" -s $SESH kak -s $SESH > /dev/null' elif [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ]; then SESH="$(tmux display-message -p '#S')" - alias kak='kak -c $SESH 2>/dev/null || kak -s $SESH' + # alias kak='kak -c $SESH 2>/dev/null || kak -s $SESH' + alias kak=run_kak alias vidir='EDITOR="kak -c $SESH 2/dev/null || kak -s $SESH" vidir' alias vipe='EDITOR="kak -c $SESH 2>/dev/null|| kak -s $SESH" vipe' fi diff --git a/config/.config/newsboat/urls b/config/.config/newsboat/urls index 30e09a6..fe820ec 100644 --- a/config/.config/newsboat/urls +++ b/config/.config/newsboat/urls @@ -1,6 +1,8 @@ https://phaazon.net/blog/feed https://danielde.dev/rss.xml https://sizeof.cat/index.xml +https://pkolaczk.github.io/feed.xml +https://karl-voit.at/feeds/lazyblorg-all.atom_1.0.links-and-content.xml https://lukesmith.xyz/index.xml https://joeyh.name/blog/index.rss https://kagifeedback.org/atom/t/release-notes