summaryrefslogtreecommitdiff
path: root/.config/x11/xinitrc
blob: a3a9bda4b14cb14ff680050a044f1edcd0f47ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

if command -v dbus-launch > /dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then
	eval $(dbus-launch --sh-syntax --exit-with-session)
fi

eval "$(gpg-agent --daemon --allow-preset-passphrase --write-env-file "$envfile")"
eval "$(ssh-agent)"

xset r rate 200 20
xset s off -dpms
setxkbmap -option "ctrl:nocaps"

xrandr --auto --output HDMI-A-0 --mode 1920x1080 --primary
xrandr --auto --output DisplayPort-2 --mode 1600x900 --left-of HDMI-A-0

~/.local/bin/set-wallpaper &
/usr/bin/emacs --daemon &
pipewire &
mpd &
picom &
statusbar &

exec dwm