updates to work with login manager, let's test on other machine
This commit is contained in:
parent
7acda4cd9d
commit
39c149d9f0
@ -126,7 +126,11 @@ LICENSE=:\
|
||||
*.java=:\
|
||||
"
|
||||
|
||||
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && shortcuts >/dev/null 2>&1 &
|
||||
# I'm not using Luke's shortcuts so...
|
||||
#[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && shortcuts >/dev/null 2>&1 &
|
||||
|
||||
# This is something luke smith has in his profile (which I have stolen, it's nice but
|
||||
# doesn't work very nicely with my login manager, lightdm, and I prefer to just run
|
||||
# startx myself if I'm not using a login manager anyway.
|
||||
# Start graphical server on user's current tty if not already running.
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
|
||||
#[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
|
||||
|
||||
@ -18,9 +18,18 @@ if [ "$HOST" == "archmetabox" ] ; then
|
||||
xrandr --auto
|
||||
fi
|
||||
|
||||
if [ "$HOST" == "holocene" ] ; then
|
||||
# My default is still xmonad, maybe dwm in future?
|
||||
session=${1:-xmonad}
|
||||
|
||||
case $session in
|
||||
i3|i3wm)
|
||||
exec i3;;
|
||||
dwm)
|
||||
dwmblocks &
|
||||
exec dwm
|
||||
else
|
||||
./$MOME/.xmonad/start-xmonad.sh
|
||||
fi
|
||||
exec dwm;;
|
||||
xmonad)
|
||||
exec $HOME/.xmonad/start-xmonad.sh;;
|
||||
# No known session, try to run it as command
|
||||
*)
|
||||
exec twm;;
|
||||
esac
|
||||
|
||||
@ -7,7 +7,7 @@ setxkbmap dvorak &
|
||||
~/.fehbg &
|
||||
|
||||
# compositor
|
||||
picom &
|
||||
picom --experimental-backend &
|
||||
|
||||
# cursor
|
||||
xsetroot -cursor_name left_ptr
|
||||
|
||||
Loading…
Reference in New Issue
Block a user