aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.profile
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-11-04 21:58:26 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-11-04 21:58:26 +0300
commit21d054a3f01d03d2f70b5f31ec5b917571a29120 (patch)
treed2022d0c7192146875f9abe5b55cd53346dd4595 /dotfiles/.profile
parentcdef3ff80cbddb77bfebc2d0b2fb732459ae7af3 (diff)
downloadswayrice-21d054a3f01d03d2f70b5f31ec5b917571a29120.tar.gz
swayrice-21d054a3f01d03d2f70b5f31ec5b917571a29120.zip
profile: swap sway's and niri's tty's
Diffstat (limited to 'dotfiles/.profile')
-rw-r--r--dotfiles/.profile11
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
-
-
-