summary |
log |
commit |
diff |
tree
raw |
patch |
inline | side by side (from parent 1:
bcf6c79)
Use quoted paths and POSIX test syntax so /bin/sh can load xbindkeys and Xresources settings.
setxkbmap -option caps:escape
X_DIR=~/.config/x11
setxkbmap -option caps:escape
X_DIR=~/.config/x11
-[[ -f $X_DIR/xbindkeysrc ]] && xbindkeys -f $X_DIR/xbindkeysrc
-[[ -f $X_DIR/xresources ]] && xrdb -merge $X_DIR/xresources
+[ -f "${X_DIR}/xbindkeysrc" ] && xbindkeys -f "${X_DIR}/xbindkeysrc"
+[ -f "${X_DIR}/xresources" ] && xrdb -merge "${X_DIR}/xresources"
autostart="xcompmgr slstatus fcitx5"
for program in $autostart; do
autostart="xcompmgr slstatus fcitx5"
for program in $autostart; do