19 lines
555 B
Bash
Executable File
19 lines
555 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# configure monitors
|
|
xrandr --output DisplayPort-1 --mode 1920x1080 --rate 144 --primary --left-of HDMI-A-0 --output HDMI-A-0 --mode 1920x1080 --rate 60
|
|
# increase key repeat rate
|
|
xset r rate 300 50
|
|
# set the wallpaper
|
|
xwallpaper --zoom ~/.local/share/bg.jpg
|
|
# load xresources
|
|
xrdb ~/.config/sx/xresources &
|
|
xrdbpid=$!
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
|
|
|
|
# Ensure that xrdb has finished running before moving on to start the WM/DE.
|
|
[ -n "$xrdbpid" ] && wait "$xrdbpid"
|
|
|
|
dbus-launch --exit-with-session dwm
|