Added lf image previewer

This commit is contained in:
Kristofers Solo
2022-05-11 17:14:16 +03:00
parent f6aa6c6d38
commit 5ce2615977
6 changed files with 127 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
#!/bin/zsh
if [[ "$(tty)" = "/dev/tty1"]]; then
pgrep awesome || sx
fi

View File

@@ -45,7 +45,7 @@ WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain part of the word
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh 2>/dev/null
zmodload zsh/terminfo
eval "$(lua ~/.config/zsh/z.lua --init zsh)"
eval "$(lua ~/.config/zlua/z.lua --init zsh)"
# Keybindings
bindkey -e