Use zellij for terminal multiplexing by default

This commit is contained in:
Ohad Livne 2025-06-04 22:46:23 +03:00
parent 4f373b4ddf
commit de81eb4119
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 10 additions and 4 deletions

View file

@ -60,7 +60,6 @@ sway-backgrounds \
swayidle \ swayidle \
swaylock \ swaylock \
syncthing \ syncthing \
tmux \
udisks2 \ udisks2 \
unar \ unar \
unrar-free \ unrar-free \

View file

@ -67,7 +67,7 @@ input type:touchpad {
# #
# Start a terminal # Start a terminal
bindsym $launch+Return exec $term bindsym $launch+Return exec $term
bindsym $launch+t exec $term bindsym $launch+t exec $term zellij attach --create main
# Start Emacs # Start Emacs
bindsym $launch+e exec emacs bindsym $launch+e exec emacs

View file

@ -0,0 +1,7 @@
layout {
pane {
name "sway"
command "sway"
args "--unsupported-gpu"
}
}

View file

@ -37,5 +37,5 @@ export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
export XDG_CURRENT_DESKTOP="sway" export XDG_CURRENT_DESKTOP="sway"
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
# If running from tty1 start sway inside a tmux session # If running from tty1 start sway inside a zellij session
[ "$(tty)" = "/dev/tty1" ] && exec tmux new-session "sway --unsupported-gpu" [ "$(tty)" = "/dev/tty1" ] && exec zellij --layout sway --session sway