xinitrc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #!/bin/sh
  2. # exec xrdb ~/.Xresources &
  3. [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
  4. dunst &
  5. unclutter &
  6. # picom -m &
  7. picom --backend glx --vsync &
  8. # picom &
  9. numlockx &
  10. # Tray
  11. # ------------------------
  12. # gxkb &
  13. nm-applet &
  14. # volctl &
  15. volumeicon &
  16. xbacklight -set 50
  17. sleep 3 && sbxkb &
  18. sleep 4 && udiskie --automount --notify --tray &
  19. # MPD daemon start (if no other user instance exists)
  20. # [ ! -s ~/.config/mpd/pid ] && mpd
  21. # SSH
  22. # ------------------------
  23. eval $(ssh-agent) &
  24. # Wallpaper
  25. # ------------------------
  26. feh --bg-scale ~/Pictures/wallpapers/13.png &
  27. # feh --randomize --bg-scale ~/Pictures/wallpapers &
  28. # Lang Toggle
  29. # setxkbmap "us,ru" ",winkeys" "grp:alt_shift_toggle"
  30. setxkbmap -layout us,ru -option grp:caps_toggle
  31. # Run mpd if doesn't started.
  32. [ -n "$(pidof mpd)" ] || mpd &
  33. # VM Monitor
  34. # -------------------------
  35. # xrandr --output Virtual-1 --mode 1920x1080
  36. #
  37. # Off laptop monitor only external
  38. # xrandr --output HDMI-1-3 --noprimary --mode 2560x1080 --output eDP-1 --off
  39. # Two monitors
  40. # xrandr --output "eDP-1" --auto --output "HDMI-1-3" --left-of "eDP-1"
  41. # Start DWM
  42. # -------------------------
  43. # ~/.dotfiles/dwm_status &
  44. # slstatus &
  45. # exec dwm
  46. #QTILE
  47. #--------------------------
  48. # exec qtile start
  49. exec sxhkd &
  50. exec bspwm