.xsession 812 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. export ENV=$HOME/.kshrc
  2. # disable bell
  3. xset b off
  4. # load changes in X settings
  5. xrdb -merge ~/.Xresources
  6. # synchronize copy buffers
  7. autocutsel &
  8. # reduce sound to not destroy my ears
  9. sndioctl -f snd/1 output.level=0.3
  10. # compositor for faster windows drawing
  11. picom &
  12. # start syncthing
  13. syncthing --no-browser &
  14. # Set keyboard
  15. setxkbmap -layout latam -variant deadtilde
  16. # Set PATH
  17. PATH=/home/lea/bin/:/home/lea/src/scripts/:$PATH
  18. # start x11 vnc server
  19. #x11vnc -wait 20 -display :0 -passwd x1103424528 -forever -noxdamage -o ~/x11vnc.log -bg
  20. # Set xrandr
  21. if [ "$(xrandr | grep 'HDMI-1 connected')" != "" ]; then
  22. xrandr --output HDMI-1 --mode 1920x1080 --output eDP-1 --off
  23. fi
  24. #xsetroot -solid grey &
  25. #xterm -bg black -fg white +sb &
  26. /home/lea/src/scripts/setWallpaperRandomPicture.sh
  27. # Start wm
  28. cwm