From bf4c403707e22065808e9174efd60bf740ac522b Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 29 Apr 2024 16:57:37 +0900 Subject: [PATCH] Updates --- home-manager/common/software/cli/fish.nix | 7 +++---- home-manager/common/software/cli/zellij.nix | 4 ++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index c4f8badb..d597c6f0 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -6,14 +6,13 @@ enable = true; interactiveShellInit = '' set EDITOR vim - set ZELLIJ_AUTO_ATTACH true - set ZELLIJ_AUTO_EXIT true ssh-add > /dev/null &> /dev/null if set -q ZELLIJ else - zellij attach MAIN + zellij attach -c "MAIN"; exit end - ''; + ''; + functions = { update_secrets = '' pushd /etc/nixos/git diff --git a/home-manager/common/software/cli/zellij.nix b/home-manager/common/software/cli/zellij.nix index 75c66464..068b940f 100644 --- a/home-manager/common/software/cli/zellij.nix +++ b/home-manager/common/software/cli/zellij.nix @@ -4,6 +4,10 @@ enableBashIntegration = true; enableFishIntegration = true; settings = { + mirror_session = true; + simplified_ui = true; + ui.pane_frames.rounded_corners = true; + ui.pane_frames.hide_session_name = false; theme = "stylix"; themes.stylix = with config.lib.stylix.colors.withHashtag; { bg = base02;