blob: 5a8ce2a24f72cb14e1e43713ba6caa8c4261f20e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Without a logind/elogind session there is no runtime directory; scripts and
# services that keep sockets or locks there (and D-Bus) would fail silently.
if [ -z "$XDG_RUNTIME_DIR" ]; then
XDG_RUNTIME_DIR="/tmp/runtime-$(id -u)"
export XDG_RUNTIME_DIR
mkdir -p -m 700 "$XDG_RUNTIME_DIR"
fi
xrandr --output DP-3 --rotate left --pos 1920x0 --output HDMI-0 --pos 0x540
setxkbmap es
xinput --set-prop 12 'libinput Accel Profile Enabled' 0, 1
"$HOME/.config/dwm/wallpaper-rotate.sh" &
xrdb ~/.Xresources
# Session bus, needed by gvfs (Thunar) and anything else using D-Bus.
exec dbus-run-session dwm
|