.xinitrc 766 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/sh
  2. # test for an existing bus daemon, just to be safe
  3. if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
  4. # if not found, launch a new one
  5. eval `dbus-launch --sh-syntax --exit-with-session`
  6. echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
  7. fi
  8. xrandr --output DVI-I-1 --auto --left-of DP-2
  9. xrandr --output HDMI-0 --mode 3840x2160 --rate 59.94 --right-of DP-2
  10. xset s off
  11. xset s noblank
  12. xset -dpms
  13. [ -f ~/.Xresources ] && xrdb -merge -I"$HOME" ~/.Xresources
  14. cadence-session-start --maybe-system-start
  15. export GTK_IM_MODULE='ibus'
  16. export QT_IM_MODULE='ibus'
  17. export XMODIFIERS='@im=ibus'
  18. ibus-daemon &
  19. python -m pywal -R
  20. setxkbmap -layout se
  21. picom &
  22. sxhkd &
  23. dunst &
  24. ~/.scripts/dwm_status.sh &
  25. ~/.scripts/mpc_status.sh &
  26. exec dwm