Update .xprofile

This commit is contained in:
punkfairie 2024-10-01 20:17:18 -07:00
parent d97d55f378
commit b07def6864
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -6,28 +6,28 @@ userresources=$HOME/.Xresources
usermodmap=$HOME/.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 -merge "$usermodmap"
xmodmap -merge "$usermodmap"
fi
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
# shellcheck source=/dev/null
[ -x "$f" ] && . "$f"
done
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
# shellcheck source=/dev/null
[ -x "$f" ] && . "$f"
done
unset f
unset f
fi
# shellcheck disable=all
@ -48,3 +48,6 @@ numlockx on
{{ if eq .chezmoi.hostname "archgirlie" -}}
setxkbmap -option "apple:alupckeys"
{{ end -}}
{{ if lookPath "pidgin" -}}
pidgin &
{{ end -}}