.xinitrc 693 B

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