diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-11-04 21:58:26 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-11-04 21:58:26 +0300 |
commit | 21d054a3f01d03d2f70b5f31ec5b917571a29120 (patch) | |
tree | d2022d0c7192146875f9abe5b55cd53346dd4595 /dotfiles | |
parent | cdef3ff80cbddb77bfebc2d0b2fb732459ae7af3 (diff) | |
download | swayrice-21d054a3f01d03d2f70b5f31ec5b917571a29120.tar.gz swayrice-21d054a3f01d03d2f70b5f31ec5b917571a29120.zip |
profile: swap sway's and niri's tty's
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.profile | 11 |
1 files 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 - - - |