diff --git a/i3/.xinitrc b/i3/.xinitrc index 4aed6ae..db6c4ec 100644 --- a/i3/.xinitrc +++ b/i3/.xinitrc @@ -1,4 +1,3 @@ -??? d'ici jusqu'à ???FIN des lignes ont pu être insérées/effacées #!/bin/sh # # ~/.xinitrc @@ -15,15 +14,11 @@ nvidia-settings --load-config-only & eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export SSH_AUTH_SOCK - exec dbus-launch i3 -#case $1 in - #i3) - #exec dbus-launch i3 - #;; - #*) - #exec $1 - #;; -#esac + # exec dbus-launch i3 +case $1 in + i3 ) exec dbus-launch i3;; + * ) exec $1;; +esac #exec openbox # exec gnome-session # exec startkde diff --git a/zsh/.zprofile b/zsh/.zprofile index e0b10f2..44cb445 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -3,7 +3,8 @@ if [ -d "$HOME/.local/bin" ]; then fi if [ -f "/bin/Xorg" ]; then - [[ $(tty) == '/dev/tty1' ]] && startx i3 + [[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc i3 + [[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc awesome fi if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session