weechat, terminfo and tmux

This commit is contained in:
kat witch 2021-03-17 05:43:35 +00:00
parent 8420b15757
commit 41b3b9cf14
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 23 additions and 4 deletions

View file

@ -17,7 +17,6 @@
../../services/taskserver.nix
../../services/murmur.nix
../../services/znc.nix
../../services/weechat.nix
../../services/matrix.nix
];

View file

@ -5,10 +5,11 @@
./zsh
./vim
./git.nix
./kitty.nix
./tmux.nix
./secrets.nix
./xdg.nix
./ssh.nix
./packages.nix
]; # ./emacs bye emacs lol
];
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
home.sessionVariables.TERMINFO_DIRS = "${pkgs.kitty.terminfo.outPath}/share/terminfo";
}

View file

@ -2,6 +2,6 @@
{
config = lib.mkIf config.deploy.profile.kat {
home.packages = with pkgs; [ kitty.terminfo ];
home.packages = with pkgs; [ kitty.terminfo weechat ];
};
}

View file

@ -14,6 +14,10 @@
set -g base-index 1
setw -g pane-base-index 1
# proper title handling
set -g set-titles on
set -g set-titles-string "#T"
# modes
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'

View file

@ -14,7 +14,6 @@
};
initExtra = ''
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=3,bold"
source ${./zshrc-title}
'';
plugins = [{
name = "zsh-autosuggestions";

View file

@ -15,6 +15,17 @@ let
clockSupport = true;
};
weechat = arc.pkgs.wrapWeechat arc.pkgs.weechat-unwrapped {
configure = { availablePlugins, ... }: {
scripts = [ arc.pkgs.weechatScripts.weechat-matrix ];
plugins = [
availablePlugins.perl
(availablePlugins.python.withPackages
(ps: [ ps.potr ps.weechat-matrix ]))
];
};
};
notmuch = super.callPackage ./notmuch { inherit (super) notmuch; };
arc = import sources.arc-nixexprs { pkgs = super; };