diff --git a/modules/home-manager/fish/interactiveShellInit.fish b/modules/home-manager/fish/interactiveShellInit.fish index 67f19d2..9080578 100644 --- a/modules/home-manager/fish/interactiveShellInit.fish +++ b/modules/home-manager/fish/interactiveShellInit.fish @@ -157,3 +157,7 @@ bind -M default \cv edit_command_buffer test $PWD = $HOME && begin cd $NICE_HOME || cd end + +if has_command tmux && ! set -q DO_NOT_AUTOSTART_TMUX && ! set -q TMUX + tmux new-session -D -s "default" &>/dev/null || tmux attach -t "default" +end diff --git a/modules/home-manager/mako.nix b/modules/home-manager/mako.nix index a531ca4..33079b7 100644 --- a/modules/home-manager/mako.nix +++ b/modules/home-manager/mako.nix @@ -15,7 +15,7 @@ textColor = text; borderColor = primary; progressColor = primary; - anchor = "bottom-left"; + anchor = "top-right"; extraConfig = '' [urgency=high] diff --git a/modules/home-manager/tmux.nix b/modules/home-manager/tmux.nix index baf04d5..a6e53fb 100644 --- a/modules/home-manager/tmux.nix +++ b/modules/home-manager/tmux.nix @@ -111,7 +111,7 @@ # set -g @plugin 'tmux-plugins/tmux-continuum' # set -g @resurrect-capture-pane-contents 'on' - # set -g @resurrect-processes 'helix hx vi vim nvim emacs man less more tail top htop btm irssi weechat mutt "git log" iex mix deno watchexec mosh-client ssh' + # set -g @resurrect-processes 'helix hx vi vim nvim emacs man less more tail top htop btm irssi weechat mutt "git log" iex mix deno watchexec mosh-client ssh senpai broot nnn iex mix' # bind A run-shell "#{@resurrect-save-script-path}" # bind L run-shell "#{@resurrect-restore-script-path}"