fix .zprofile & .xinitrc
This commit is contained in:
parent
0dbc41d2d7
commit
0b1daa991f
15
i3/.xinitrc
15
i3/.xinitrc
@ -1,4 +1,3 @@
|
|||||||
??? d'ici jusqu'à ???FIN des lignes ont pu être insérées/effacées
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# ~/.xinitrc
|
# ~/.xinitrc
|
||||||
@ -15,15 +14,11 @@ nvidia-settings --load-config-only &
|
|||||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||||
export SSH_AUTH_SOCK
|
export SSH_AUTH_SOCK
|
||||||
|
|
||||||
exec dbus-launch i3
|
# exec dbus-launch i3
|
||||||
#case $1 in
|
case $1 in
|
||||||
#i3)
|
i3 ) exec dbus-launch i3;;
|
||||||
#exec dbus-launch i3
|
* ) exec $1;;
|
||||||
#;;
|
esac
|
||||||
#*)
|
|
||||||
#exec $1
|
|
||||||
#;;
|
|
||||||
#esac
|
|
||||||
#exec openbox
|
#exec openbox
|
||||||
# exec gnome-session
|
# exec gnome-session
|
||||||
# exec startkde
|
# exec startkde
|
||||||
|
@ -3,7 +3,8 @@ if [ -d "$HOME/.local/bin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/bin/Xorg" ]; then
|
if [ -f "/bin/Xorg" ]; then
|
||||||
[[ $(tty) == '/dev/tty1' ]] && startx i3
|
[[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc i3
|
||||||
|
[[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc awesome
|
||||||
fi
|
fi
|
||||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
|
||||||
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
|
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
|
||||||
|
Loading…
Reference in New Issue
Block a user