Little bit of polish to common-shells and x

master
Meliurwen 3 years ago
parent c5dfc55f83
commit 7c76823e8b
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 3
      common-shells/.profile
  2. 4
      x/.xinitrc
  3. 1
      x/.xprofile
  4. 1
      x/.xsession
  5. 1
      x/.xsessionrc

@ -10,11 +10,10 @@
# Set font for console tty # Set font for console tty
# Source: https://github.com/powerline/fonts/tree/master/Terminus/PSF # Source: https://github.com/powerline/fonts/tree/master/Terminus/PSF
if [ "$TERM" == "linux" ]; then if [ "$TERM" = "linux" ]; then
CONSOLE_FONTD=$HOME/.local/share/consolefonts CONSOLE_FONTD=$HOME/.local/share/consolefonts
CONSOLE_FONT=ter-powerline-v12n.psf.gz CONSOLE_FONT=ter-powerline-v12n.psf.gz
if [ -f "$CONSOLE_FONTD/$CONSOLE_FONT" ]; then if [ -f "$CONSOLE_FONTD/$CONSOLE_FONT" ]; then
setfont "$CONSOLE_FONTD/$CONSOLE_FONT" setfont "$CONSOLE_FONTD/$CONSOLE_FONT"
fi fi
fi fi

@ -18,7 +18,7 @@ fi
# NOTE: this stinks a bit, and everything works without this... BUT there are # NOTE: this stinks a bit, and everything works without this... BUT there are
# some parameters set in this collection of scripts of which at the # some parameters set in this collection of scripts of which at the
# moment I don't have the time (and will) to grasp the secuirty # moment I don't have the time (and the will) to grasp the secuirty
# consequences of removing them. # consequences of removing them.
# run all system xinitrc shell scripts. # run all system xinitrc shell scripts.
if [ -d /etc/X11/Xsession.d ]; then if [ -d /etc/X11/Xsession.d ]; then
@ -26,7 +26,7 @@ if [ -d /etc/X11/Xsession.d ]; then
if [ -n "$SESSIONFILES" ]; then if [ -n "$SESSIONFILES" ]; then
set +e set +e
for SESSIONFILE in $SESSIONFILES; do for SESSIONFILE in $SESSIONFILES; do
. $SESSIONFILE . "$SESSIONFILE"
done done
set -e set -e
fi fi

@ -13,4 +13,3 @@
# - ~/.xinitrc # - ~/.xinitrc
# - ~/.xsession # - ~/.xsession
# For example XDM or the command xinit and its wrapper startx # For example XDM or the command xinit and its wrapper startx

@ -20,4 +20,3 @@ case $session in
xmonad ) exec xmonad;; xmonad ) exec xmonad;;
*) exec $1;; *) exec $1;;
esac esac

@ -18,4 +18,3 @@ unset C_PATH
if fsmartconnect --version > /dev/null ; then if fsmartconnect --version > /dev/null ; then
fsmartconnect & fsmartconnect &
fi fi

Loading…
Cancel
Save