feat: nnn image preview
This commit is contained in:
parent
a3b1463f43
commit
52504e6879
|
@ -29,8 +29,9 @@ case "$PM" in
|
|||
download_nnn_plugins
|
||||
;;
|
||||
pacman)
|
||||
sudo pacman -S --noconfirm --needed nnn
|
||||
cp -r /usr/share/nnn/plugins/. "$NNN_CONFIG_DIR"
|
||||
sudo pacman -S --noconfirm --needed nnn ueberzug
|
||||
mkdir -p "$NNN_CONFIG_DIR/plugins"
|
||||
cp -r /usr/share/nnn/plugins/* "$NNN_CONFIG_DIR/plugins"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ case "$UNAMEA" in
|
|||
thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler \
|
||||
flameshot \
|
||||
copyq \
|
||||
sxiv \
|
||||
alacritty
|
||||
# ntp
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
|
@ -93,6 +94,7 @@ esac
|
|||
|
||||
|
||||
# configuration
|
||||
lnsf "$DIR/sxiv/sxiv.desktop" ~/.local/share/applications/sxiv.desktop
|
||||
lnsf "$DIR/autorandr/postswitch" "$XDG_CONFIG_HOME/autorandr/postswitch"
|
||||
lnsf "$DIR/thunar/uca.xml" "$XDG_CONFIG_HOME/Thunar/uca.xml"
|
||||
lnsf "$DIR/alacritty/alacritty.yml" "$XDG_CONFIG_HOME/alacritty/alacritty.yml"
|
||||
|
|
8
gui/sxiv/sxiv.desktop
Normal file
8
gui/sxiv/sxiv.desktop
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=sxiv
|
||||
GenericName=Image Viewer
|
||||
Exec=sxiv %F
|
||||
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/tiff;image/x-bmp;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-tga;image/x-xpixmap;
|
||||
NoDisplay=true
|
||||
Icon=sxiv
|
Loading…
Reference in New Issue
Block a user