dylanaraps / fff

📁 A simple file manager written in bash.
MIT License
4.08k stars 173 forks source link

Problem with customizing fff #98

Open ward6slick opened 5 years ago

ward6slick commented 5 years ago

fff is working perfectly but it wont let me change colors. i have installed from git and from the release source code. also i noticed the favorites (bookmarks) doesnt work for me. the keybind is the just the numbers right? (ex: 1-key or 3-key) i have added these lines in my bash.rc

alias ls='ls --color' LS_COLORS='di=94:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90' export LS_COLORS

changing colors in FFF_COL1,2,3,4 in fff.1 doesnt change anything either. also is there anyway to switch the default image opener? w3m in fff works great but i would like opening a picture to use sxiv https://imgur.com/a/qlsKlNf

dylanaraps commented 5 years ago

What terminal emulator and OS are you using?

The default programs are configured through xdg-open.

ward6slick commented 5 years ago

Debian stable and urxvt

dylanaraps commented 5 years ago

Add these lines to ~/.bashrc:

export FFF_COL1=3
export FFF_COL2=2
export FFF_COL3=1
export FFF_COL4=4

Let me know if the colors change.

ward6slick commented 5 years ago

no change

Anachron commented 5 years ago

@ward6slick are you sure you are using bash as your $SHELL? If not you probably have to put these env variables to a profile/place that actually gets sourced.

ward6slick commented 5 years ago

@Anachron @dylanaraps I just reinstalled today from git clone https://github.com/dylanaraps/fff and its now letting me change colors from my bashrc, i have alias ls='ls --color=auto' and export FFF_COL1=6 export FFF_COL2=7 export FFF_COL3=6 export FFF_COL4=1 now the problem im currently facing is fff is its not letting me change keybinds and the bookmarks dont work

vogler commented 5 years ago

Same problem. Can't set any option: FFF_COL1=7 fff (I guess this should work to test it?) and export FFF_COL1=7; fff both do nothing. Files are hard to see with default colors for Solarized Light in iTerm. There is an option for directory color - how do I change normal file color?

> brew info fff
fff: stable 2.1
> zsh --version
zsh 5.7.1 (x86_64-apple-darwin18.2.0)
IsaacElenbaas commented 4 years ago

Same issue here. Only colors broken.

IsaacElenbaas commented 4 years ago

I believe that changing line 104 to [[ $LS_COLORS ]] || { fixed it for me. Needs testing by someone else with it broken.

victor-falcon commented 1 year ago

Same issue here. Only colors broken.

Colors are broken in my case too