From dfc74d5da39840cacb19dd2743727634b53e2cd9 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 16 Jul 2024 12:03:27 +0530 Subject: home/wayland/sway: autostart on tty1 --- home/wayland/modules/sway/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home/wayland') diff --git a/home/wayland/modules/sway/home.nix b/home/wayland/modules/sway/home.nix index fbc2411..5f4cfb5 100644 --- a/home/wayland/modules/sway/home.nix +++ b/home/wayland/modules/sway/home.nix @@ -33,6 +33,12 @@ in { ./i3status.nix ]; + programs.bash.profileExtra = '' + case "$(tty)" in + */tty1) exec sway ;; + esac + ''; + home = { packages = [ pkgs.wl-clipboard -- cgit v1.2.3