GithubHelp home page GithubHelp logo

Comments (13)

yurisuki avatar yurisuki commented on July 19, 2024

Also, I don't know if it's on my side or smth but aliases don't work in my i3 config. I have to source them. Well, I recommend if you can execute them with bash ~/.scripts/smth.

edit: https://faq.i3wm.org/question/1784/alias-in-keybind-doesnt-work/index.html < there it is confirmed.

from voidrice.

LukeSmithxyz avatar LukeSmithxyz commented on July 19, 2024

Again, this is nearly certainly the same problem that you had in your last issue. There's no need for "aliases" since the ~/.scripts/ directory should be put in your $PATH by ~/.bash_profile.

Give me the exact output of echo $PATH and the exact output of echo $HOME.

Wasn't your system in Polish or am I misremembering?

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

My system is in Czech. Output of echo $PATH is /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl and echo $HOME is /home/yuri

from voidrice.

LukeSmithxyz avatar LukeSmithxyz commented on July 19, 2024

Well yeah, then that's the problem, for some reason your ~/.scripts/ directory hasn't been added. Could you show me cat ~/.bash_profile? It may be that you clones the repo when I was moving things around.

You are using bash, right?

I'll go ahead and say that you should be able to just add the line export PATH=$PATH:$HOME/.scripts to your ~/.bash_profile, log out and in and it should all work.

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

`[[ -f ~/.bashrc ]] && . ~/.bashrc

export PATH=$PATH:$HOME/.scripts
export EDITOR="vim"
export TERMINAL="st"
export BROWSER="chromium"`

this is what I have in. I don't know.

from voidrice.

 avatar commented on July 19, 2024

.bash_profile only gets sourced when the login shell is launched. Have you tried rebooting your system?

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

yes, i did.

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

Also, I don't know whether this will be useful but this was happening to me in i3bar with i3blocks.

In i3 bar you have command=~/smth/$BLOCK_NAME and this doesn't work for me either.

from voidrice.

 avatar commented on July 19, 2024

Weird. Try renaming .bash_profile to .profile and rebooting, then post the output of echo $PATH.

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

This doesn't help either. But I can say that .bash_profile and profile are being readied because Chromium does trash talk when I change browser to Firefox.

from voidrice.

 avatar commented on July 19, 2024

@exploxd is your user even part of the wheel group? I had the same problem as you whenever I installed the voidrice dotfiles without LARBS. My system was able to see the appropriate scripts in question just fine and my i3wm was definitely executing them properly - the scripts simply were just not being granted elevated superuser permissions yet, and therefore made it look as if "these scripts aren't working".

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

well it's not issue anymore since i switched to artix linux. after i do arch or artix linux installation i immediately run larbs script. larbs includes that.

from voidrice.

yurisuki avatar yurisuki commented on July 19, 2024

sorry for keeping this open for long.

from voidrice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.