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