diff options
Diffstat (limited to '.config/x11')
| -rw-r--r-- | .config/x11/xinitrc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 76a3ff5..8ccffd0 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -1,10 +1,7 @@ #!/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 @@ -19,13 +16,12 @@ 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 & +~/.fehbg +/usr/bin/emacs --daemon & pipewire & mpd & picom & -set-wallpaper & +statusbar & exec dwm |
