You are not logged in.
Pages: 1
Is there a way to make Arch run a script automatically whenever I log in?
For example if I wanted it to run foo.sh or some bash I made.
Thankyou
Offline
I believe you just need to put the path to the script in your /etc/rc.local
pink
Even a broken clock is right twice a day.
Diplomacy without force is like music without instruments.
Offline
Calling it from ~/.bash_profile (if you are using bash) can be one way to do it.
Having your wm execute it can also be a solution.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
rc.local runs at boot time, not when you log in.
If you're logging in at a console, use .bashrc. If you're going straight to X, use .xinitrc or your DE/WM's autostart function.
Offline
Pages: 1