From 84ee878342ebfa109ac547b91616eabbd7bfd30a Mon Sep 17 00:00:00 2001 From: nic Date: Sun, 31 Dec 2023 14:24:44 -0500 Subject: Initial commit --- .config/x11/xinitrc | 11 +++++++++++ .config/x11/xprofile | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .config/x11/xinitrc create mode 100644 .config/x11/xprofile (limited to '.config/x11') 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 -- cgit v1.2.3