updated ranger to use viewnior instead of kitty for viewing images

This commit is contained in:
tomit4 2022-05-25 06:26:23 -07:00
parent 35d05ef9f1
commit 71062b2658
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,2 @@
set preview_images true
set preview_images_method kitty
set show_hidden true

View file

@ -183,7 +183,7 @@ mime ^image/svg, has display, X, flag f = display -- "$@"
mime ^image, has imv, X, flag f = imv -- "$@"
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
mime ^image, has feh, X, flag f = viewnior -- "$@"
mime ^image, has mirage, X, flag f = mirage -- "$@"
mime ^image, has ristretto, X, flag f = ristretto "$@"
mime ^image, has eog, X, flag f = eog -- "$@"

View file

@ -14,9 +14,9 @@ add notation about using pick to parse through output, and pipe that using xargs
example:
ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick)
Install bspwm and sxhkd and xdo
Install bspwm and sxhkd and xdo and viewnior
doas pacman -S bspwm sxhkd xdo
doas pacman -S bspwm sxhkd xdo viewnior
Place bspwmrc and sxhkdrc in respective .config directories
@ -34,3 +34,11 @@ doas pacman -S xorg-xev screenkey
cp aliases ~/.aliases
cp xinitrc.txt ~/.xinitrc
Update scripts
cd ~/scripts
git pull
Update ranger configuration (without kitty)
doas cp -r ~/Documents/notes/ranger/ ~/.config/