Tweak vifm handling of video and image

This commit is contained in:
Tibo De Peuter 2023-06-26 17:00:36 +02:00
parent 9484b3bc10
commit 050d03ced3
5 changed files with 34 additions and 22 deletions

View file

@ -12,6 +12,7 @@
duf
git-crypt
lynx
nsxiv
w3m
zenith
];

View file

@ -1,14 +1,22 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.tdpeuter.home = {
packages = with pkgs; [
vifm
font-awesome_5
];
file = {
".config/vifm".source = ../../../../stow/vifm/.config/vifm;
};
home-manager.users.tdpeuter.home = {
packages = with pkgs; [
vifm
chafa # Terminal image previewer
glow # Terminal Markdown renderer
font-awesome_5
];
# Put files separately so history still works
file = {
".config/vifm/colors".source = ../../../../stow/vifm/.config/vifm/colors;
".config/vifm/scripts".source = ../../../../stow/vifm/.config/vifm/scripts;
".config/vifm/vifmrc".source = ../../../../stow/vifm/.config/vifm/vifmrc;
};
};
}