diff options
Diffstat (limited to '.config/x11')
| -rw-r--r-- | .config/x11/xinitrc | 11 | ||||
| -rw-r--r-- | .config/x11/xprofile | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc new file mode 100644 index 0000000..95d14a8 --- /dev/null +++ b/.config/x11/xinitrc @@ -0,0 +1,11 @@ +#!/bin/sh +# xinitrc runs automatically when you run startx. + +if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then + . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" +else + . "$HOME/.xprofile" +fi + +dbus-update-activation-environment --all +exec dbus-launch --exit-with-session dwm diff --git a/.config/x11/xprofile b/.config/x11/xprofile new file mode 100644 index 0000000..5a3a21c --- /dev/null +++ b/.config/x11/xprofile @@ -0,0 +1,13 @@ +#!/bin/sh +# This file runs when a DM logs you into a graphical session. +# If you use startx/xinit, this file will also be sourced. + +xrandr --output DP-4 --mode 1920x1080 --rate 240 +setbg & +slstatus & + +autostart="dunst mpd xcompmgr unclutter remapd" +#gentoo-pipewire-launcher +for program in $autostart; do + pidof -sx "$program" || "$program" & +done >/dev/null 2>&1 |
