.bash_profile 378 B

12345678910111213
  1. ## Автостарт иксов в openbox:
  2. ## ~/.bash_profile
  3. if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  4. exec startx
  5. fi
  6. #### NUMLOCK ####
  7. ## Самый надежный способ: doas pacman -S numlockx, потом в ~/.xinitrc добавляешь numlockx & перед exec openbox.
  8. setleds -D +num в ~/.bash_profile