diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 20:35:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 20:35:27 +0900 |
| commit | c80a54e42b52ce297f0f2f71af23c562832025c7 (patch) | |
| tree | dcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/x11/xinitrc | |
init
Diffstat (limited to 'ar/.config/x11/xinitrc')
| -rw-r--r-- | ar/.config/x11/xinitrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ar/.config/x11/xinitrc b/ar/.config/x11/xinitrc new file mode 100644 index 0000000..fe1bb35 --- /dev/null +++ b/ar/.config/x11/xinitrc @@ -0,0 +1,19 @@ +#!/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 |
