nix/home/config/sway/module/Terminal.nix

8 lines
172 B
Nix

{ config, ... }: {
text = ''
set $term ${config.setting.terminal.bin}
bindsym --to-code $mod+Escape exec $term -e bash -c "tmux new-session -A -s $USER; bash"
'';
}