aboutsummaryrefslogtreecommitdiff
path: root/.config/X11/.xinitrc
blob: 478994acc700a2f13f1f5807305b9d0c37f52291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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