summaryrefslogtreecommitdiff
path: root/.config/x11/xinitrc
blob: ecd80c112b767b1427c361b35684742bc3779f24 (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
25
26
27
#!/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

rfkill block all

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

xset r rate 250 30
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