Configuration_Files/misc/.xsession

51 lines
1.6 KiB
Plaintext

#!/bin/yash
export TERM=xterm
export FXDE_DIR=/home/midfavila/.config/fxde
. /etc/profile
#. /home/midfavila/.config/shrc
for file in /home/midfavila/.config/xresources/*
do
xrdb -merge "${file}"
done
wm=shod
if [ $wm = fvwm ]
then
export FVWM_USERDIR=/home/midfavila/.config/fxde/fxde-core/;exec fvwm3
elif [ $wm = wl ]
then
# Desktop settings.
FXDE_DIR=/home/midfavila/.config/fxde/
PAPE="${FXDE_DIR}"/fxde-assets/wallpaper/landscape.jpg
CURSOR=Lambda
xwallpaper --no-randr --stretch "${PAPE}" &
xsetroot -xcf "${FXDE_DIR}"/fxde-assets/cursors//"${CURSOR}"/cursors/left_ptr 12 &
aplay "${FXDE_DIR}/fxde-assets/audio/Login.wav" &
xssstart slock &
xclock -digital -brief -twentyfour -render -geometry 50x10+0-0 &
stalonetray &
exec windowlab -active '#A0A0D0' -inactive '#D0D0D0' -empty '#D0D0D0'
elif [ $wm = shod ]
then
#Desktop settings.
PAPE="${FXDE_DIR}/fxde-assets/wallpaper/landscape.jpg"
CURSOR=Lambda
picom -cCzfGD3 --shadow-exclude bounding_shaped --vsync --backend glx \
--no-use-damage&
xclickroot -1 $FXDE_DIR/fxde-core/config/menu &
$FXDE_DIR/fxde-core/scripts/bar.sh|lemonbar -b -F '#000000' -g265x16+0+0 -B \
'#00000000' -f xft:family=Liberation:style=Mono:size=9: &
sxhkd -c $FXDE_DIR/fxde-core/config/sxhkdrc &
xwallpaper --no-randr --stretch "${PAPE}" &
xsetroot -xcf "${FXDE_DIR}"/fxde-assets/cursors/"${CURSOR}"/cursors/left_ptr 12 &
stalonetray --window-type desktop --icon-gravity N -v -t --grow-gravity S -i 24 \
--geometry 1x1+0-17 &
xssstart slock &
exec shod
fi