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
if [ -f $sysresources ]; then
xrdb -merge $sysresources
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
xmodmap "$usermodmap"
fi
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Environment
export \
TERMINAL=st \
DRI_PRIME=1 \
QT_QPA_PLATFORMTHEME=qt5ct
TERMINAL=st \
BROWSER=librewolf \
DRI_PRIME=1 \
QT_QPA_PLATFORMTHEME=qt5ct
numlockx &