aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.profile
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-10-30 17:38:56 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-10-30 17:38:56 +0300
commitb490fe4bea23a89d85509403c9e5a86f2c16173e (patch)
treec63deb4401da98ba717fa17e7eb013f7edc4bb56 /dotfiles/.profile
parentb21dc7fcd29a0bb5239c5fb07e8cf08720f3b5e2 (diff)
downloadswayrice-b490fe4bea23a89d85509403c9e5a86f2c16173e.tar.gz
swayrice-b490fe4bea23a89d85509403c9e5a86f2c16173e.zip
trying out niri
Diffstat (limited to 'dotfiles/.profile')
-rw-r--r--dotfiles/.profile11
1 files changed, 9 insertions, 2 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile
index a675b1a..3f89bab 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -51,7 +51,14 @@ eval "$(dircolors "$HOME/.config/dir_colors")"
. "$HOME/.config/lf/icons"
# Start sway automatically upon login on tty1 or tty2
-if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] || [ $(tty) = /dev/tty2 ]; then
- exec dbus-run-session sway 2> ~/.cache/sway.log
+if [ -z $DISPLAY ]; then
+ if [ $(tty) = /dev/tty1 ] || [ $(tty) = /dev/tty2 ]; then
+ exec dbus-run-session sway 2> ~/.cache/sway.log
+ elif [ $(tty) = /dev/tty3 ]; then
+ pipewire & wireplumber & pipewire-pulse & pipewire-jack &
+ exec dbus-run-session niri --session
+ fi
fi
+
+