very hacky make tmux work tm

This commit is contained in:
dusk 2021-04-17 04:54:35 +03:00
parent e5a730c4a2
commit e93d4a49d2
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -352,6 +352,10 @@ in
alacritty = {
enable = true;
settings = {
shell = {
program = "${pkgs.tmux}/bin/tmux";
args = [ "attach" ];
};
font = {
normal = { family = font; };
size = fontSize;
@ -508,6 +512,8 @@ in
fi
'';
initExtra = ''
export TERM=alacritty
function tomp4 () {
${pkgs.ffmpeg}/bin/ffmpeg -i $1 -c:v libx264 -preset slow -crf 30 -c:a aac -b:a 128k $2
}