Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how does lfrun work? #44

Open
apprehensions opened this issue Jun 16, 2022 · 3 comments
Open

how does lfrun work? #44

apprehensions opened this issue Jun 16, 2022 · 3 comments

Comments

@apprehensions
Copy link

i cannot seem to understand how the script works.

@benedikt-bartscher
Copy link

Please specify what exactly you don't understand

@apprehensions
Copy link
Author

the entire script?? thats why i asked

@cv1618
Copy link

cv1618 commented Oct 22, 2022

lfrun needs to be in a $PATH directory, the quickest and easiest is to just move it to /usr/local/bin

sudo mv lfrun /usr/local/bin

Then you need to create a shell alias so that when you type lf it executes lfrun instead

Open ~/.bashrc (or whatever shell you use)with a text editor and enter

alias lf="lfrun"

As far as the script itself it's opening lf in a wrapper script that sets up the environment for ueberzug to display images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants