#!/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 autostart="gentoo-pipewire-launcher setbg dunst mpd xcompmgr unclutter remapd" for program in $autostart; do pidof -sx "$program" || "$program" & done >/dev/null 2>&1