From ab75f2042c7e2e1b12e8177e700599b6972b5f9f Mon Sep 17 00:00:00 2001 From: Quinn Date: Tue, 27 Jan 2026 17:08:54 +0100 Subject: [PATCH] Test for read access instead of file. --- .xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xinitrc b/.xinitrc index 1c82da6..c9bf088 100755 --- a/.xinitrc +++ b/.xinitrc @@ -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 [ -x "/etc/xprofile" ] && "/etc/xprofile" # load the system-wide xprofile [ -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 exec i3 -c "$XDG_CONFIG_HOME/i3/config" # start the graphical environment (replaces shell)