summaryrefslogtreecommitdiff
path: root/.config/x11/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/x11/xinitrc')
-rw-r--r--.config/x11/xinitrc32
1 files changed, 15 insertions, 17 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 76a3ff5..091a42d 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -1,31 +1,29 @@
#!/bin/sh
-if [ -d "/etc/X11/Xsession.d" ]; then
- for f in /etc/X11/Xsession.d/*; do
- [ -x "$f" ] && . "$f"
- done
- unset f
+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 "$(gpg-agent --daemon --allow-preset-passphrase)"
eval "$(ssh-agent)"
+xrandr --addmode HDMI-A-0 1280x960
+xrandr --output HDMI-A-0 --mode 1280x960 --primary
+xrandr --output DisplayPort-1 --mode 1920x1080 --right-of HDMI-A-0
+xrandr --output DisplayPort-2 --mode 1600x900 --left-of HDMI-A-0
+
xset r rate 250 30
xset s off -dpms
setxkbmap -option "ctrl:nocaps"
+xrdb -merge ~/.Xresources
-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 &
-ibus-daemon -dxrR
-/usr/local/bin/emacs --daemon &
-statusbar &
+urxvtd -q -o -f &
+ibus-daemon -d -r -x
pipewire &
-mpd &
picom &
-set-wallpaper &
-
-exec dwm
+mpd &
+exec i3