diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-06-04 16:03:04 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-06-04 16:03:04 +0200 |
| commit | d017f43e6a845b087435712c2a8e45dd42116565 (patch) | |
| tree | 1c601f54855d2be1fee8967167d38bd4ce9a17cd /.config/X11/.xinitrc | |
| parent | 26b6b1671c26e192852af99bec3768e0d8d4fe09 (diff) | |
| download | dotfiles-d017f43e6a845b087435712c2a8e45dd42116565.tar.gz dotfiles-d017f43e6a845b087435712c2a8e45dd42116565.zip | |
Add .xinitrc
Diffstat (limited to '.config/X11/.xinitrc')
| -rwxr-xr-x | .config/X11/.xinitrc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.config/X11/.xinitrc b/.config/X11/.xinitrc new file mode 100755 index 0000000..478994a --- /dev/null +++ b/.config/X11/.xinitrc @@ -0,0 +1,45 @@ +#!/bin/sh +# +#░█▀▀░▀█▀░█▀█░█▀▄░▀█▀░█░█ +#░▀▀█░░█░░█▀█░█▀▄░░█░░▄▀▄ +#░▀▀▀░░▀░░▀░▀░▀░▀░░▀░░▀░▀ +# + +# xinitrc.d +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# 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. + +[[ -f /etc/profile ]] && source /etc/profile + +if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/X11/.xprofile" ]; then + . "${XDG_CONFIG_HOME:-$HOME/.config}/X11/.xprofile" +else + . "$HOME/.xprofile" +fi + + + +# profile +#[[ -f /etc/profile ]] && source /etc/profile +#[[ -f ~/.config/X11/.profile ]] && source ~/.config/X11/.profile + + +#exec ck-launch-session dbus-launch --exit-with-session startxfce4 + +#export XDG_SESSION_TYPE=X11 +#xsetroot -cursor_name left_ptr +#picom -f & +#sxhkd & +#exec bspwm |
