From 0d1a84f59d8cdd62c97410f96f8a13c98c51453a Mon Sep 17 00:00:00 2001
From: marlonivo <email@marlonivo.xyz>
Date: Mon, 14 Apr 2025 09:16:38 +0000
Subject: initial

---
 .config/x11/xinitrc | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .config/x11/xinitrc

(limited to '.config/x11/xinitrc')

diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
new file mode 100644
index 0000000..b183f25
--- /dev/null
+++ b/.config/x11/xinitrc
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# xinitrc runs automatically when you run startx.
+
+# There are some small but important commands that need to be run when we start
+# the graphical environment. There is a link to this file in ~/.xprofile
+# because that file is run automatically if someone uses a display manager
+# (login screen) and so they are needed there. To prevent doubling up commands,
+# I source them here with the line below.
+
+if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
+	. "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
+else
+	. "$HOME/.xprofile"
+fi
+# Activate dbus variables
+dbus-update-activation-environment --all
+dbus-launch ssh-agent dwm
-- 
cgit v1.2.3