Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by
edited by

vifm package for arch is created using this pkgbuild:

https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/vifm

is there a problem with the flags/arguments to configure? because if i do :colorscheme xyz i can see that the following locations are being searched:

  • ~/.vifm/colors
  • /etc/vifm/colors

but the schemes are actually located in /usr/share/vifm/colors:

pacman -Ql vifm | grep colors/
vifm /usr/share/vifm/colors/
vifm /usr/share/vifm/colors/astrell-root.vifm
vifm /usr/share/vifm/colors/astrell-user.vifm
vifm /usr/share/vifm/colors/dmilith-root.vifm
vifm /usr/share/vifm/colors/dmilith-user.vifm
vifm /usr/share/vifm/colors/istib-solarized-dark.vifm
vifm /usr/share/vifm/colors/juef-zenburn.vifm
vifm /usr/share/vifm/colors/reicheltd-light.vifm

thank you, jose

1 Answer

0 votes
by
 
Best answer

The package is fine. Those color schemes weren't meant to be used out of the box originally, more like examples.

Actually they were put there before /etc/vifm/colors was introduced, but I'm not sure it's worth installing them globally. If installing color schemes like that, then it should be those which are in vifm-colors.

by

i find it a bit strange that vifm is looking into directory which doesn't even exist after building. but anyway i made a pkgbuild for the additional color schemes that arch linux users can try after doing `mkdir /etc/vifm/; ln -s /usr/share/vifm/colors /etc/vifm/colors` (https://aur.archlinux.org/packages/vifm-colors-git/)

by

i find it a bit strange that vifm is looking into directory which doesn't even exist after building

It's a directory for global configuration to be shared among multiple users. Maybe sample vifmrc and color schemes will be moved there someday.

i made a pkgbuild for the additional color schemes that arch linux users can try

Thanks.

...