diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-16 12:03:27 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-16 12:05:29 +0530 |
commit | dfc74d5da39840cacb19dd2743727634b53e2cd9 (patch) | |
tree | 765683009b1d64661b6d9ad8fda6ddf2e4bd1a2e /home | |
parent | 9fe3f6620e91ae9efa8258c010abd0b094d88944 (diff) |
home/wayland/sway: autostart on tty1
Diffstat (limited to 'home')
-rw-r--r-- | home/wayland/modules/sway/home.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 |