xinitrc { Ajout : variable BROWSER. Correction : indentation }

This commit is contained in:
Hippolyte Chauvin 2023-06-17 16:47:31 +02:00
parent 53a30035ac
commit 1e3d8433bf

View file

@ -6,33 +6,34 @@ sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap sysmodmap=/etc/X11/xinit/.Xmodmap
if [ -f $sysresources ]; then if [ -f $sysresources ]; then
xrdb -merge $sysresources xrdb -merge $sysresources
fi fi
if [ -f $sysmodmap ]; then if [ -f $sysmodmap ]; then
xmodmap $sysmodmap xmodmap $sysmodmap
fi fi
if [ -f "$userresources" ]; then if [ -f "$userresources" ]; then
xrdb -merge "$userresources" xrdb -merge "$userresources"
fi fi
if [ -f "$usermodmap" ]; then if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap" xmodmap "$usermodmap"
fi fi
if [ -d /etc/X11/xinit/xinitrc.d ] ; then if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f" [ -x "$f" ] && . "$f"
done done
unset f unset f
fi fi
# Environment # Environment
export \ export \
TERMINAL=st \ TERMINAL=st \
DRI_PRIME=1 \ BROWSER=librewolf \
QT_QPA_PLATFORMTHEME=qt5ct DRI_PRIME=1 \
QT_QPA_PLATFORMTHEME=qt5ct
numlockx & numlockx &