summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway
diff options
context:
space:
mode:
Diffstat (limited to 'home/wayland/modules/sway')
-rw-r--r--home/wayland/modules/sway/home.nix6
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