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

8 lines
172 B
Nix
Raw Normal View History

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