summaryrefslogtreecommitdiff
path: root/.config/x11
diff options
context:
space:
mode:
Diffstat (limited to '.config/x11')
-rw-r--r--.config/x11/xinitrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
new file mode 100644
index 0000000..76a3ff5
--- /dev/null
+++ b/.config/x11/xinitrc
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+if [ -d "/etc/X11/Xsession.d" ]; then
+ for f in /etc/X11/Xsession.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+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
+
+ibus-daemon -dxrR
+/usr/local/bin/emacs --daemon &
+statusbar &
+pipewire &
+mpd &
+picom &
+set-wallpaper &
+
+exec dwm
+