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 usermodmap=$HOME/.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 -merge "$usermodmap" xmodmap -merge "$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
# shellcheck source=/dev/null # shellcheck source=/dev/null
[ -x "$f" ] && . "$f" [ -x "$f" ] && . "$f"
done done
unset f unset f
fi fi
# shellcheck disable=all # shellcheck disable=all
@ -48,3 +48,6 @@ numlockx on
{{ if eq .chezmoi.hostname "archgirlie" -}} {{ if eq .chezmoi.hostname "archgirlie" -}}
setxkbmap -option "apple:alupckeys" setxkbmap -option "apple:alupckeys"
{{ end -}} {{ end -}}
{{ if lookPath "pidgin" -}}
pidgin &
{{ end -}}