More POSIX compliant syntax in .xsession and .xsessionrc

master
Meliurwen 3 years ago
parent e50a984f69
commit c3741ebf98
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 4
      x/.xsession
  2. 2
      x/.xsessionrc

@ -4,8 +4,8 @@
# interfaces launchers (all DM and xinitrc/startx) should go in ~/.xsessionrc .
# This file is only sourced on Debian and derivates, so here a rudimentary
# check to source it in case we're not on Debian or derivative distro.
if [ ! -f /etc/debian_version]; then
[ -f $HOME/.xsessionrc ] && . $HOME/.xsessionrc
if [ ! -f /etc/debian_version ]; then
[ -f "$HOME/.xsessionrc" ] && . "$HOME/.xsessionrc"
fi
# Set i3 as default if no argument is passed

@ -15,7 +15,7 @@ C_PATH="$HOME/.local/bin"
unset C_PATH
# Mount remote volumes
if $(fsmartconnect --version > /dev/null); then
if fsmartconnect --version > /dev/null ; then
fsmartconnect &
fi

Loading…
Cancel
Save