From b490fe4bea23a89d85509403c9e5a86f2c16173e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 30 Oct 2024 17:38:56 +0300 Subject: trying out niri --- dotfiles/.profile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dotfiles/.profile') 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 + + -- cgit v1.2.3