From 21d054a3f01d03d2f70b5f31ec5b917571a29120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 4 Nov 2024 21:58:26 +0300 Subject: profile: swap sway's and niri's tty's --- dotfiles/.profile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dotfiles/.profile b/dotfiles/.profile index 3f89bab..0521be1 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -53,12 +53,11 @@ eval "$(dircolors "$HOME/.config/dir_colors")" # Start sway automatically upon login on tty1 or tty2 if [ -z $DISPLAY ]; then if [ $(tty) = /dev/tty1 ] || [ $(tty) = /dev/tty2 ]; then - exec dbus-run-session sway 2> ~/.cache/sway.log + pipewire > ~/.cache/pw.log 2>&1 & + wireplumber > ~/.cache/wireplumber.log 2>&1 & + pipewire-pulse > ~/.cache/pw-pulse.log 2>&1 & + exec dbus-run-session niri --session > ~/.cache/niri.log 2>&1 elif [ $(tty) = /dev/tty3 ]; then - pipewire & wireplumber & pipewire-pulse & pipewire-jack & - exec dbus-run-session niri --session + exec dbus-run-session sway 2> ~/.cache/sway.log fi fi - - - -- cgit v1.2.3