Test for read access instead of file.

This commit is contained in:
2026-01-27 17:08:54 +01:00
parent 6d3b91ebdf
commit ab75f2042c

View File

@@ -23,7 +23,7 @@ numlockx on # ensure numlock is on before setting keymap
setxkbmap us -variant altgr-intl -option '' # load the correct keymap which actually has 3rd level shift setxkbmap us -variant altgr-intl -option '' # load the correct keymap which actually has 3rd level shift
[ -x "/etc/xprofile" ] && "/etc/xprofile" # load the system-wide xprofile [ -x "/etc/xprofile" ] && "/etc/xprofile" # load the system-wide xprofile
[ -x "$HOME/.xprofile" ] && "$HOME/.xprofile" # load the local xprofile configuration [ -x "$HOME/.xprofile" ] && "$HOME/.xprofile" # load the local xprofile configuration
[ -f "$HOME/.Xmodmap" ] && xmodmap "$HOME/.Xmodmap" # load local keymap [ -r "$HOME/.Xmodmap" ] && xmodmap "$HOME/.Xmodmap" # load local keymap
[ -x /usr/bin/picom ] && /usr/bin/picom -b # start picom as a background service [ -x /usr/bin/picom ] && /usr/bin/picom -b # start picom as a background service
exec i3 -c "$XDG_CONFIG_HOME/i3/config" # start the graphical environment (replaces shell) exec i3 -c "$XDG_CONFIG_HOME/i3/config" # start the graphical environment (replaces shell)